History log of /freebsd-10.1-release/bin/ed/ed.h
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 241737 19-Oct-2012 ed

More -Wmissing-variable-declarations fixes.

In addition to adding `static' where possible:

- bin/date: Move `retval' into extern.h to make it visible to date.c.
- bin/ed: Move globally used variables into ed.h.
- sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings.
- usr.bin/calendar: Remove unneeded variables.
- usr.bin/chat: Make `line' local instead of global.
- usr.bin/elfdump: Comment out unneeded function.
- usr.bin/rlogin: Use _Noreturn instead of __dead2.
- usr.bin/tset: Pull `Ospeed' into extern.h.
- usr.sbin/mfiutil: Put global variables in mfiutil.h.
- usr.sbin/pkg: Remove unused `os_corres'.
- usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.


# 139969 10-Jan-2005 imp

/*- or .\"- or #- to begin license clauses.


# 115717 02-Jun-2003 markm

Modernise. Use libcrypto for DES instead of libcipher.


# 101093 31-Jul-2002 markm

Fix some easy WARNS.


# 98465 20-Jun-2002 jmallett

We have a place for extern declarations of global variables in ed.h, do not
use main() to do it locally.


# 90109 02-Feb-2002 imp

o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
o gc some #ifdef sun ... #endif code

Approved by: arch@, new style(9)


# 81220 06-Aug-2001 mike

o Correctly define rcsid.
o Add consts where appropriate.
o Rename some variables that were shadowing global declarations.
o Remove register storage-classes.
o Make errmsg a const, so we can just set error messages instead
of using sprintf/strcpy.
o Set WARNS=2

Reviewed by: bde, des


# 77407 29-May-2001 imp

Use PATH_MAX rather than MAXPATHLEN. Also fix a possible off by one
error caused by the -1 being on the wrong side of the comparison.
This would not cause an overflow, as near as I can tell, because we
truncate later anyway. We'd just fail to get a diagnostic for 1024
and 1025 byte file names.


# 50471 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 38161 07-Aug-1998 dfr

Silence some warnings when building on the alpha.


# 31666 10-Dec-1997 eivind

Remove simultaneous include of <sys/param.h> and <sys/types.h>.
Reorder includes to be alphabetical some places since I already was in
here.


# 22988 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 4128 03-Nov-1994 dg

Nuked #ifdef __386BSD__ since this is not appropriate and no longer defined
in our 2.6.1 gcc port.


# 3044 24-Sep-1994 dg

Added $Id$


# 1297 23-Mar-1994 alm

use umask 077 for buffer file


# 1057 31-Jan-1994 alm

Fixed range address bug: 1,2, == 2,2 not 2,.
Overhauled the name space, reworked some modules and removed the
obsolescent Addison-Wesley copyright.


# 268 09-Aug-1993 alm

added (unsiged) cast to avoid int overflow
removed REGEX directive


# 87 02-Jul-1993 alm

Consolidate mark code - no functional changes or fixes.


# 49 26-Jun-1993 alm

fixed undo within a global command (would corrupt the buffer)
changed move within a global to behave as in SunOS
added a couple error messages


# 17 18-Jun-1993 alm

This commit was generated by cvs2svn to compensate for changes in r16,
which included commits to RCS files with non-trunk default branches.


# 16 18-Jun-1993 alm

POSIX ed version 0.6 by Andrew Moore (alm@netcom.com).