Commit Graph

134 Commits

Author SHA1 Message Date
joerg 9e69720425 Fix violations of the sequence point rule. 2013-06-28 15:04:35 +00:00
joerg 5bb1ddccc2 Use __dead 2011-08-29 14:51:17 +00:00
christos 8151f99568 use const char [] for format. 2011-08-21 08:40:31 +00:00
christos 850af422f9 eliminate non-literal format string. 2011-08-14 09:38:05 +00:00
joerg a86027b1a0 Conditionalize printfs instead of using conditional empty format
strings.
2011-05-23 23:13:10 +00:00
riz a9adb2c9b0 If the definition of a static function is #if DES, the declaration
of it should be too.  Fixes build of ed where MKCRYPTO=no.
2010-06-09 19:20:18 +00:00
joerg fd71eb70d7 Quote punctation. 2010-05-14 02:09:58 +00:00
dholland c314d41680 remove unused global variable 2009-07-26 02:07:12 +00:00
dholland 85d0adbcff sprinkle static in this file 2009-07-26 02:06:37 +00:00
dholland aa92b1b91b Remove the need for -Wno-pointer-sign. Does not change the output .o file. 2009-07-26 01:58:20 +00:00
ginsbach 389bb545f4 Make sure that buffer is NULL terminated when input to strip_escapes() is
too long.  (Thanks jnemeth!)
2009-06-10 04:16:53 +00:00
ginsbach 9cd62c77f5 Fix potential buffer overflow in filename escape processing
'ed [MAXPATHLEN + 1 characters]'.  [From FreeBSD]
2009-06-10 03:24:27 +00:00
joerg 70ea994ea4 Avoid .Xo/.Xc. Fix quoting of commands to give the intended effect. 2009-03-26 21:34:11 +00:00
gmcgarry 3c9a95916d Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
lukem 2fe2731d3f Remove the \n and tabs from the __COPYRIGHT() strings. 2008-07-20 00:52:39 +00:00
gmcgarry 686556951e Add test for HAVE_PCC with HAVE_GCC which turn off compiler warning flags. 2008-07-12 12:29:42 +00:00
msaitoh 548cdc0050 s/intialized/initialized/ 2007-03-17 13:51:46 +00:00
christos 88e26c5a37 sprinkle volatile 2006-10-15 23:57:21 +00:00
christos 460f8d8a0c PR/33699: Kevin Massey: use strlcpy to prevent stack overflows. 2006-06-11 16:15:20 +00:00
mrg aadd7d4847 sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. 2006-05-11 23:16:28 +00:00
rumble 88f1652fe8 Handle asprintf returning NULL. 2006-03-17 14:37:14 +00:00
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