dholland
a3542600fb
sprintf considered harmful
2014-03-23 05:06:42 +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
xtraeme
d33a7206d5
Kill __P(), use ANSI function declarations.
2005-02-17 16:29:26 +00:00
wiz
bbbbcbe44f
Fix typos in comments. From Jared Yanovich via jmc@openbsd.
2003-10-19 01:52:45 +00:00
itojun
3efe781f15
plug memory leak. PR bin/22694
2003-09-05 20:16:50 +00:00
christos
6165d4f806
Obey $TMPDIR for creating the scratch file
2000-04-17 23:37:50 +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
christos
0cc47b55b2
add braces
1998-11-04 13:41:32 +00:00
mycroft
9dc385beb1
Delint.
1998-07-28 05:31:22 +00:00
thorpej
8b7ade1ab8
- Use __RCSID() and __COPYRIGHT().
...
- Fix (all but two) compiler warnings.
1997-07-20 06:35:35 +00:00
lukem
b7b791e1a0
use mkstemp() instead of mktemp()
1997-03-22 03:02:17 +00:00
cgd
d7290b7687
clean up RCS Ids slightly, etc.
1995-04-23 10:07:18 +00:00
cgd
49f0ad8601
convert to new RCS id conventions.
1995-03-21 09:01:59 +00:00
alm
1f6f4700ad
Renamed insque
1994-03-23 04:22:08 +00:00
alm
db657f14a7
Use umask 077 to open buffer file
1994-03-23 04:04:19 +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
alm
9380925b08
Added a line-addressing test so this isn't overlooked again.
...
Added BACKWARDS directive to Makefile for compatibility.
Completely changed the name space as per FSF's request.
Fixed a line-addressing bug introduced by previous `fix', i.e.,
space preceding a digit acts a plus (+) operator, as in `1 1' == `2',
and a plus operator by itself acts as +1, but a space by itself
should not equal a plus operator, i.e., `1 ' != `1+' == `2'.
1993-11-23 04:41:44 +00:00
alm
ba4d688de2
fix line addressing so that 1,2, == 2,2 (as per SunOS ed) not 1,2
...
add global-active routines to replace some bad hacks
remove obsolescent Addison-Wesley copyrights
1993-11-12 10:48:43 +00:00
mycroft
8542364e07
Add RCS identifiers.
1993-08-01 18:49:50 +00:00
alm
aef94df1e8
fixed undo within a global command (would corrupt the buffer)
1993-07-02 10:02:26 +00:00
alm
2621a68caf
added support for lines of arbitrary length
...
added support for 8-bit data, including NULs
1993-05-08 10:49:52 +00:00
alm
20d732999d
added man page (draft)
...
fixed `!' command
final code cleanup
1993-04-23 02:08:48 +00:00
alm
f30a0860be
added an efficient and relatively clean move (`m' command)
...
added ustack checking
1993-04-15 04:58:32 +00:00
alm
b9b97259e6
implemented line marks as pointers
...
marks to lines that are moved, deleted or otherwise changed are cleared
undo restores cleared marks
added strerror diagnostics
1993-04-14 12:22:14 +00:00
cgd
336e165c02
updated to alm's ed-0.2
1993-04-10 11:46:38 +00:00
cgd
9b082a69f0
added ed, from Andrew Moore, alm@netcom.com
1993-04-08 01:07:16 +00:00