Commit Graph

113 Commits

Author SHA1 Message Date
christos 6310b59691 sprinkle a little const, and now everything compiles with WARNS=3 2005-06-26 19:10:48 +00:00
rillig cb5d6856d5 Fixed another instance of isspace(char). 2005-05-23 08:01:17 +00:00
rillig 4f6457e756 Fixed wrong use of the <ctype.h> functions by adding an explicit conversion
to unsigned char. Approved by christos.
2005-04-19 20:14:29 +00:00
xtraeme d33a7206d5 Kill __P(), use ANSI function declarations. 2005-02-17 16:29:26 +00:00
lukem 857ab1bdd0 use ${HOST_SH} instead of /bin/sh 2003-10-26 03:50:07 +00:00
wiz bbbbcbe44f Fix typos in comments. From Jared Yanovich via jmc@openbsd. 2003-10-19 01:52:45 +00:00
wiz 29119d0e3b Reinstate paragraph about -E, sort option descriptions, and bump date for -E addition. 2003-09-08 13:13:08 +00:00
wiz 7554e5998d Some more fixes: sort sections, escape some stuff for HTML output. 2003-09-08 13:02:59 +00:00
wiz 25eb7d566d Improved version of OpenBSD's mdoc'ed version of ed(1) (v1.42). 2003-09-08 12:58:41 +00:00
itojun 3efe781f15 plug memory leak. PR bin/22694 2003-09-05 20:16:50 +00:00
agc b5b2954259 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
wiz dcc13ddb7d Some grammar and punctuation fixes from jmc@openbsd. 2003-05-01 13:50:58 +00:00
lukem 6d7ad1a836 clear errno before strtol() if we're going to test it for ERANGE afterwards 2003-04-17 02:54:07 +00:00
perry 18dec071dc occurences->occurrences, from Igor Sobrado in PR 19670 2003-03-29 18:09:03 +00:00
thorpej c87e2cf550 Avoid conflict with reserved identifier "exp". 2002-12-06 01:39:10 +00:00
wiz 881c258156 additional and positive with two is. From Adrian Mrva. 2002-10-02 15:59:51 +00:00
wiz 14dfaa4b03 New policy: New sentences start on a new line.
Patches by Robert Elz <kre at munnari oz au>, with minimal changes by me.
2002-09-25 15:18:36 +00:00
wiz 1815854042 __STDC__ is always defined on NetBSD. 2002-05-25 23:29:16 +00:00
ross dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
atatat c25d406046 Add a -E flag to ed(1) and sed(1) so that they can use extended
regular expressions instead of just basic regular expressions.
2002-01-23 19:07:33 +00:00
wiz 0042317848 Fix a typo, and improve grammar. 2002-01-03 16:58:04 +00:00
wiz 3ebcdc5e43 Whitespace nits. 2001-12-20 19:31:48 +00:00
lukem b8a6769184 fix minor WARNS=2 2001-11-03 13:21:09 +00:00
christos 07c9f4f644 remove redundant declaration of errmsg 2001-01-07 05:41:20 +00:00
lukem 8ea171b99a be consistent with man page xrefs (this is a pre mandoc man page) 2000-11-07 01:45:49 +00:00
thorpej df83a2a3cd Add MK... variables to enable/disable various aspects of building
crypto support into the system.  See share/mk/bsd.README for more
a full description.
2000-06-23 06:01:10 +00:00
thorpej dfbbcfb967 libcrypt can now always decrypt, so always -DDES, and eliminate the
<bsd.crypto.mk> song-and-dance.
2000-06-16 16:33:06 +00:00
christos bb6de7f12f mention use of TMPDIR fixed in previous commit 2000-05-12 14:02:00 +00:00
christos 6165d4f806 Obey $TMPDIR for creating the scratch file 2000-04-17 23:37:50 +00:00
christos d1631dd9db make this compile without -DBACKWARDS [someone deleted an unused variable
that was not always unused]
2000-04-17 23:37:30 +00:00
thorpej e766b0b752 Back out the incorrect change in revision 1.11 of main.c, and actually
fix the problem it meant to address by putting extern declarations into
ed.h.
2000-04-04 17:07:29 +00:00
mjl 68fdf492b5 Correct data type mismatch of "rows" with extern declaration. Possible
LP64 issue (long vs int). Fixes OpenBSD PR/1167 :)
2000-04-01 20:44:43 +00:00
kristerw 3d173ac8f8 Spelling ("occurences" -> "occurrences") 1999-11-18 19:16:34 +00:00
mrg 51a96a002f optionally include CRYPTOPATH Makefile.frag files. 1999-07-20 09:35:18 +00:00
thorpej a3281f7249 Use bsd.crypto.mk. 1999-07-12 22:04:09 +00:00
christos 87defac18b - add termios.h for winsize
- unsigned cast for is*()
1998-11-04 13:45:57 +00:00
christos 0cc47b55b2 add braces 1998-11-04 13:41:32 +00:00
christos 21ebffd0f8 fix sys_errlist define to work with solaris 1998-11-04 13:39:08 +00:00
wsanchez 4fcbbc7043 Apple like limits.h, too. 1998-10-13 17:04:15 +00:00
thorpej 341bd18b4a Add some braces to make egcs happy. 1998-08-19 01:31:46 +00:00
mycroft ee9e50eacb Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
mycroft a36f9be148 Delint. 1998-07-28 05:46:20 +00:00
mycroft 9dc385beb1 Delint. 1998-07-28 05:31:22 +00:00
fair 09569bd272 makewhatis doesn't quite handle nroff comments (.\") correctly,
so let's accomodate it by moving the stuff in "NAME" section around a bit.
1998-04-09 08:37:12 +00:00
perry 75a6e03535 change includes to fix compiler warning 1998-02-03 04:55:59 +00:00
christos e230a48b57 CFLAGS->CPPFLAGS 1997-10-10 19:47:50 +00:00
lukem 70c59f6d77 getopt returns -1 not EOF 1997-09-14 07:22:27 +00:00
mikel 3bf516f09b kill extra space 1997-08-03 04:27:37 +00:00
augustss 45bde16e1a Fix paren typo so `ed' can edit files again. 1997-07-23 23:39:19 +00:00
christos 23edbe3557 Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
1997-07-20 22:36:20 +00:00