summaryrefslogtreecommitdiffstats
path: root/bin/ed/ed.h
Commit message (Collapse)AuthorAgeFilesLines
* /*- or .\"- or #- to begin license clauses.imp2005-01-101-1/+1
|
* Modernise. Use libcrypto for DES instead of libcipher.markm2003-06-021-7/+12
|
* Fix some easy WARNS.markm2002-07-311-2/+2
|
* We have a place for extern declarations of global variables in ed.h, do notjmallett2002-06-201-0/+2
| | | | use main() to do it locally.
* o __P has been reovedimp2002-02-021-88/+73
| | | | | | | | | | | | 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)
* o Correctly define rcsid.mike2001-08-061-12/+12
| | | | | | | | | | | 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
* Use PATH_MAX rather than MAXPATHLEN. Also fix a possible off by oneimp2001-05-291-8/+2
| | | | | | | 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.
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Silence some warnings when building on the alpha.dfr1998-08-071-2/+2
|
* Remove simultaneous include of <sys/param.h> and <sys/types.h>.eivind1997-12-101-2/+1
| | | | | Reorder includes to be alphabetical some places since I already was in here.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | 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.
* Nuked #ifdef __386BSD__ since this is not appropriate and no longer defineddg1994-11-031-4/+2
| | | | in our 2.6.1 gcc port.
* Added $Id$dg1994-09-241-0/+1
|
* use umask 077 for buffer filealm1994-03-231-9/+8
|
* Fixed range address bug: 1,2, == 2,2 not 2,.alm1994-02-011-130/+160
| | | | | Overhauled the name space, reworked some modules and removed the obsolescent Addison-Wesley copyright.
* added (unsiged) cast to avoid int overflowalm1993-08-091-1/+1
| | | | removed REGEX directive
* Consolidate mark code - no functional changes or fixes.alm1993-07-021-1/+4
|
* fixed undo within a global command (would corrupt the buffer)alm1993-06-261-2/+2
| | | | | changed move within a global to behave as in SunOS added a couple error messages
* POSIX ed version 0.6 by Andrew Moore (alm@netcom.com).alm1993-06-181-0/+263
OpenPOWER on IntegriCloud