summaryrefslogtreecommitdiff
path: root/bin/ed/main.c
AgeCommit message (Expand)Author
2017-04-26silence clang warnings: add an extra pair of parentheses and stopChristian Weisgerber
2017-01-03Allow the omission of one address in (.,.) and (.;.) address rangesTheo Buehler
2016-08-16Piping to a shell command does not count as a save, so don't reset theMartin Natano
2016-03-22header cleanupmmcc
2015-11-20make ed restore the user defined prompt (specified with -p) when it was turnedtb
2015-10-25POSIX says that you can't capture the return value of sigsetjmp().Philip Guenther
2015-10-21Style fixes; from Ilya KalimanTodd C. Miller
2015-10-09The variable errmsg can be static in main.c if code in re.c uses an ownTobias Stoeckmann
2015-10-09Define functions as static when they are not used outside their own c-files.Tobias Stoeckmann
2015-10-09Mark static globals that are only used in their respective .c files.Todd C. Miller
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-07tame "stdio rpath wpath cpath proc exec tty". proc and exec because edTheo de Raadt
2015-10-04Remove useless pattern_t typedef, POSIX regex is here to stay soTodd C. Miller
2015-10-04Remove #ifdefs for non-POSIX systems. Also remove #ifdef forTodd C. Miller
2015-07-28remove gratuitous castsTheo de Raadt
2015-07-14use atomic operations on sig_atomic_t variables inside the signal handlers,Theo de Raadt
2015-07-11XXX annotate another signal raceTheo de Raadt
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-04Allow POSIX 0i; from Jeremy Mates.Daniel Dickman
2014-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@Todd C. Miller
2014-07-12If a constant string needs a name, use a static const array insteadPhilip Guenther
2014-05-24delete restricted ed. no one will ever use this. never documented or enabled.Daniel Dickman
2014-04-14more x removal;Jason McIntyre
2014-04-14remove nonstandard DES support because DES. ok beck deraadt miodTed Unangst
2013-11-21add unsigned char casts for specific calls to ctype.h macros.Theo de Raadt
2013-01-15tidyMarc Espie
2010-08-12Use symbolic names for the file descriptors rather than numeric values.Kevin Lo
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-01-28synchronize synopsis and usage.Igor Sobrado
2008-04-21Initialize the correct variable in HUP handler if ed.hup in currentTobias Stoeckmann
2006-04-25various small lint cleanups; ok ottoTheo de Raadt
2006-04-17mark signal raceTheo de Raadt
2003-06-11ansification, art okTheo de Raadt
2002-06-09knfTodd T. Fries
2002-03-24Kill unneeded longs; fixes some minor 64 bit issues. deraadt@ OKTodd C. Miller
2002-01-16Use the volatile specifier to fix warnings about variables beingTodd C. Miller
2001-11-17volatile sig_atomic_tTheo de Raadt
2001-11-11indentTheo de Raadt
2001-06-22exit() from a signal handler is a sinTheo de Raadt
2001-01-17use sig_atomic_tTheo de Raadt
2001-01-16cleanup strcpy, strncpy, signal races, etcTheo de Raadt
2000-05-01MAXPATHLEN, not MAXPATHLEN+1; millert agreesTheo de Raadt
2000-04-01commons type mismatch; ath@algonet.seTheo de Raadt
2000-01-22remove extra externs not needed because of unistd.h (rest of tree will be don...Theo de Raadt
1999-12-05not MAXPATHLEN+1Theo de Raadt
1999-12-04remove oflow in strip_escapes...Niels Provos
1998-05-18buf oflowsTheo de Raadt
1997-09-12Avoid longjmp/vfork clobbering.Todd C. Miller
1997-09-01i am bored enough to fix terminal space/tab ugliesTheo de Raadt
1997-08-05make signal handlers errno safeTheo de Raadt