index
:
src
cvs/HEAD
kms/intel
kms/radeon
master
OpenBSD base system
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
bin
/
ed
/
main.c
Age
Commit message (
Expand
)
Author
2024-10-12
remove duplicate unistd.h include
Jonathan Gray
2024-07-16
Fix the SIGHUP signal race. ed's "event loop" operates a getchar(); check
Theo de Raadt
2022-11-18
Write number of bytes read/written and "?" prompt to stdout, not stderr.
Todd C. Miller
2022-01-22
Flush all stdio streams before running a shell command.
Todd C. Miller
2019-06-28
When system calls indicate an error they return -1, not some arbitrary
Theo de Raadt
2018-06-15
Make sure we always return more than a single '!' in get_shell_command.
Martijn van Duren
2018-06-15
Remove the non-BACKWARDS option for GET_THIRD_ADDR. No change to current
Martijn van Duren
2018-06-04
Definitively choose the existing semantics for the scroll and null command.
Martijn van Duren
2018-05-24
Fail earlier if we don't have a current filename. This simlifies the
Martijn van Duren
2018-02-26
Make ed(1) warn about modifications if 'r'ead in an empty file and
Martijn van Duren
2017-04-26
silence clang warnings: add an extra pair of parentheses and stop
Christian Weisgerber
2017-01-03
Allow the omission of one address in (.,.) and (.;.) address ranges
Theo Buehler
2016-08-16
Piping to a shell command does not count as a save, so don't reset the
Martin Natano
2016-03-22
header cleanup
mmcc
2015-11-20
make ed restore the user defined prompt (specified with -p) when it was turned
tb
2015-10-25
POSIX says that you can't capture the return value of sigsetjmp().
Philip Guenther
2015-10-21
Style fixes; from Ilya Kaliman
Todd C. Miller
2015-10-09
The variable errmsg can be static in main.c if code in re.c uses an own
Tobias Stoeckmann
2015-10-09
Define functions as static when they are not used outside their own c-files.
Tobias Stoeckmann
2015-10-09
Mark static globals that are only used in their respective .c files.
Todd C. Miller
2015-10-09
Change all tame callers to namechange to pledge(2).
Theo de Raadt
2015-10-07
tame "stdio rpath wpath cpath proc exec tty". proc and exec because ed
Theo de Raadt
2015-10-04
Remove useless pattern_t typedef, POSIX regex is here to stay so
Todd C. Miller
2015-10-04
Remove #ifdefs for non-POSIX systems. Also remove #ifdef for
Todd C. Miller
2015-07-28
remove gratuitous casts
Theo de Raadt
2015-07-14
use atomic operations on sig_atomic_t variables inside the signal handlers,
Theo de Raadt
2015-07-11
XXX annotate another signal race
Theo de Raadt
2015-01-16
Replace <sys/param.h> with <limits.h> and other less dirty headers where
Theo de Raadt
2014-12-04
Allow POSIX 0i; from Jeremy Mates.
Daniel Dickman
2014-11-26
Prefer setvbuf() to setlinebuf() for portability; ok deraadt@
Todd C. Miller
2014-07-12
If a constant string needs a name, use a static const array instead
Philip Guenther
2014-05-24
delete restricted ed. no one will ever use this. never documented or enabled.
Daniel Dickman
2014-04-14
more x removal;
Jason McIntyre
2014-04-14
remove nonstandard DES support because DES. ok beck deraadt miod
Ted Unangst
2013-11-21
add unsigned char casts for specific calls to ctype.h macros.
Theo de Raadt
2013-01-15
tidy
Marc Espie
2010-08-12
Use symbolic names for the file descriptors rather than numeric values.
Kevin Lo
2009-10-28
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
Theo de Raadt
2009-01-28
synchronize synopsis and usage.
Igor Sobrado
2008-04-21
Initialize the correct variable in HUP handler if ed.hup in current
Tobias Stoeckmann
2006-04-25
various small lint cleanups; ok otto
Theo de Raadt
2006-04-17
mark signal race
Theo de Raadt
2003-06-11
ansification, art ok
Theo de Raadt
2002-06-09
knf
Todd T. Fries
2002-03-24
Kill unneeded longs; fixes some minor 64 bit issues. deraadt@ OK
Todd C. Miller
2002-01-16
Use the volatile specifier to fix warnings about variables being
Todd C. Miller
2001-11-17
volatile sig_atomic_t
Theo de Raadt
2001-11-11
indent
Theo de Raadt
2001-06-22
exit() from a signal handler is a sin
Theo de Raadt
2001-01-17
use sig_atomic_t
Theo de Raadt
[next]