summaryrefslogtreecommitdiffstats
path: root/bin/ed
Commit message (Collapse)AuthorAgeFilesLines
...
* o Correctly define rcsid.mike2001-08-0610-182/+158
| | | | | | | | | | | 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
* Remove whitespace at EOL.dd2001-07-151-7/+7
|
* Back out previous commit: it doesn't help anything since write_file(),dd2001-06-281-2/+2
| | | | | | | | which is also called from handle_hup(), uses stdio(3). Furthermore, this means that calling exit(3) (via quit()) there is required to flush the buffer write_file() was working on. Submitted by: bde
* Don't call exit(3) from a signal handler.dd2001-06-241-2/+2
| | | | Obtained from: OpenBSD
* Correct a spelling nit (a -> an).dd2001-06-041-1/+1
|
* Use PATH_MAX rather than MAXPATHLEN. Also fix a possible off by oneimp2001-05-293-16/+11
| | | | | | | 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.
* Remove a comment which seemed to confuse makewhatis:ben2001-03-291-1/+0
| | | | | | | | ben@freefall:~$ whatis ed ed(1), -(1) - ed, red text editor PR: 25164 Submitted by: Rich Morin <rdm@cfcl.com>
* Switch from using rand() or random() to a stronger, more appropriate PRNGkris2001-03-051-8/+1
| | | | | | (random() or arc4random()) Reviewed by: bde
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.ru2001-02-281-1/+1
|
* mdoc(7) police: split punctuation characters + misc fixes.ru2001-02-011-3/+4
|
* Prepare for mdoc(7)NG.ru2000-12-181-1/+1
|
* Prepare for mdoc(7)NG.ru2000-12-151-14/+11
|
* Constifykris2000-11-271-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-3/+3
|
* Properly declare the multiple-columns list.ru2000-11-061-1/+1
|
* Finish conversion from man(7) to mdoc(7).ru2000-11-061-9/+13
|
* Include sys/types.hbrian2000-10-162-0/+4
|
* Locale support was added by ache long ago.sheldonh2000-07-171-4/+2
|
* Supply only one author name per instance of %A, as per mdoc.samples(7).sheldonh2000-05-101-1/+2
| | | | | PR: 18465 Submitted by: Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
* Fixes a potential buffer overflow with 'ed [MAXPATHLEN + 1 characters]'.joe2000-04-301-3/+5
| | | | | Submitted by: Mike Heffner <spock@techfour.net> Submitted on: audit@freebsd.org
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-4/+8
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Change DISTRIBUTION name to match reality.markm2000-02-291-1/+1
|
* Add `.Nm red' to NAME section.phantom2000-01-101-1/+2
|
* $Id$ -> $FreeBSD$peter1999-08-2717-17/+17
|
* Various spelling/formatting changes.kris1999-05-083-6/+6
| | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org>
* Silence some warnings when building on the alpha.dfr1998-08-073-6/+6
|
* Fix use of -man macro, correct description of the behaviour of the `+n'jkoshy1998-07-211-8/+3
| | | | | | command to match whats there in the source. PR: 7328
* Convert to mdoc.charnier1998-05-131-544/+441
|
* Fixed existence test for secure sources (don't test for secure objects).bde1998-03-061-4/+4
| | | | Fixed some formatting.
* Ensure stdout is line buffered.helbig1997-12-312-3/+7
| | | | Change "pat" -> "re" in man page.
* 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.
* Un-clobber mktemp->mkstemp patch.eivind1997-10-091-3/+2
|
* make signal handlers errno safeeivind1997-10-081-3/+8
| | | | Obtained from: OpenBSD (file rev 1.11) - Theo de Raadt <deraadt@openbsd.org>
* mktemp -> mkstempeivind1997-10-081-2/+3
| | | | Obtained from: OpenBSD (file rev 1.4 by Theo de Raadt <deraadt@openbsd.org>)
* fix misspellingjmg1997-08-301-2/+2
| | | | | | Submitted-by: Josh Gilliam Closes PR:4427
* sccsid -> rcsid and fix some minor nits.steve1997-08-078-21/+46
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-281-2/+2
| | | | posix standard on the topic.
* Use mkstemp rather than mktemp to prevent races.imp1997-03-241-4/+8
| | | | Obtained from: OpenBSD
* Revert $FreeBSD$ to $Id$peter1997-02-2217-17/+17
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1417-17/+17
| | | | | | | | 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-148-17/+22
|
* delete doubled words, e.g.: "the the" -> "the"wosch1996-10-051-2/+2
|
* add forgotten $Id$wosch1996-09-223-0/+6
|
* [HISTORY] command appeared in Version 1 AT&T UNIXwosch1996-08-291-1/+6
| | | | Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
* Localize itache1996-08-112-12/+14
| | | | 8bit cleanup
* Bring in my changes for removing the pestilent obj links (unless youjkh1996-06-241-2/+2
| | | | | really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
* Output line count to stdout. Complies to POSIX.2.tg1996-05-231-3/+3
| | | | Reviewed by: joerg
* This commit was generated by cvs2svn to compensate for changes in r13122,peter1995-12-302-0/+0
| | | | which included commits to RCS files with non-trunk default branches.
* Wrong library was picked by edache1995-10-221-3/+3
|
* Correctly build the secure ed(1) only if secure/ exists.markm1995-10-031-2/+2
| | | | Pointed out by: bde
OpenPOWER on IntegriCloud