summaryrefslogtreecommitdiffstats
path: root/bin/ed/sub.c
Commit message (Collapse)AuthorAgeFilesLines
* Consistently use __FBSDIDobrien2002-06-301-4/+2
|
* o __P has been reovedimp2002-02-021-18/+5
| | | | | | | | | | | | 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-11/+8
| | | | | | | | | | | 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
* $Id$ -> $FreeBSD$peter1999-08-271-1/+1
|
* Silence some warnings when building on the alpha.dfr1998-08-071-2/+2
|
* sccsid -> rcsid and fix some minor nits.steve1997-08-071-2/+5
|
* 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.
* -Wall cleaning.steve1996-12-141-2/+2
|
* Remove trailing whitespace.rgrimes1995-05-301-4/+4
| | | | Reviewed by: phk
* You will find enclosed some changes to make gcc -Wall more happy injoerg1995-03-191-4/+5
| | | | | | | | | /usr/src/bin. Note that some patches are still needed in that directory. I (Joerg) finished most of Philippe's cleanup. /bin/sh will still need *allot* of work, however. Submitted by: charnier@lirmm.fr (Philippe Charnier)
* fixed `s' to set dot to last line affected, not the last line inalm1995-01-141-1/+4
| | | | a substitution range.
* Added $Id$dg1994-09-241-0/+2
|
* use umask 077 for buffer filealm1994-03-231-1/+1
|
* Fixed range address bug: 1,2, == 2,2 not 2,.alm1994-02-011-0/+263
Overhauled the name space, reworked some modules and removed the obsolescent Addison-Wesley copyright.
OpenPOWER on IntegriCloud