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 |
lukem
|
2fe2731d3f
|
Remove the \n and tabs from the __COPYRIGHT() strings.
|
2008-07-20 00:52:39 +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 |
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 |
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 |
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 |
christos
|
87defac18b
|
- add termios.h for winsize
- unsigned cast for is*()
|
1998-11-04 13:45:57 +00:00 |
mycroft
|
ee9e50eacb
|
Be more retentive about use of NOTREACHED and noreturn.
|
1998-07-28 11:41:40 +00:00 |
mycroft
|
9dc385beb1
|
Delint.
|
1998-07-28 05:31:22 +00:00 |
lukem
|
70c59f6d77
|
getopt returns -1 not EOF
|
1997-09-14 07:22:27 +00:00 |
augustss
|
45bde16e1a
|
Fix paren typo so `ed' can edit files again.
|
1997-07-23 23:39:19 +00:00 |
christos
|
18078c1896
|
Avoid the last warnings and add WARNS=1
|
1997-07-20 17:22:15 +00:00 |
thorpej
|
8b7ade1ab8
|
- Use __RCSID() and __COPYRIGHT().
- Fix (all but two) compiler warnings.
|
1997-07-20 06:35:35 +00:00 |
cgd
|
49f0ad8601
|
convert to new RCS id conventions.
|
1995-03-21 09:01:59 +00:00 |
cgd
|
f04c743d2d
|
be careful with pointer types.
|
1994-12-23 13:18:20 +00:00 |
alm
|
1357f1551d
|
`s3' applies the last substitution to the 3rd (or nth) match.
Split up the code to several files.
|
1994-02-20 06:56:16 +00:00 |