summaryrefslogtreecommitdiffstats
path: root/bin/ed/main.c
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-2/+2
2018-06-15Make sure we always return more than a single '!' in get_shell_command.martijn1-5/+5
2018-06-15Remove the non-BACKWARDS option for GET_THIRD_ADDR. No change to currentmartijn1-22/+1
2018-06-04Definitively choose the existing semantics for the scroll and null command.martijn1-9/+1
2018-05-24Fail earlier if we don't have a current filename. This simlifies themartijn1-52/+26
2018-02-26Make ed(1) warn about modifications if 'r'ead in an empty file andmartijn1-2/+2
2017-04-26silence clang warnings: add an extra pair of parentheses and stopnaddy1-17/+20
2017-01-03Allow the omission of one address in (.,.) and (.;.) address rangestb1-2/+3
2016-08-16Piping to a shell command does not count as a save, so don't reset thenatano1-2/+2
2016-03-22header cleanupmmcc1-3/+11
2015-11-20make ed restore the user defined prompt (specified with -p) when it was turnedtb1-2/+2
2015-10-25POSIX says that you can't capture the return value of sigsetjmp().guenther1-2/+3
2015-10-21Style fixes; from Ilya Kalimanmillert1-2/+2
2015-10-09The variable errmsg can be static in main.c if code in re.c uses an owntobias1-1/+2
2015-10-09Define functions as static when they are not used outside their own c-files.tobias1-13/+29
2015-10-09Mark static globals that are only used in their respective .c files.millert1-12/+13
2015-10-09Change all tame callers to namechange to pledge(2).deraadt1-3/+3
2015-10-07tame "stdio rpath wpath cpath proc exec tty". proc and exec because edderaadt1-1/+5
2015-10-04Remove useless pattern_t typedef, POSIX regex is here to stay somillert1-4/+4
2015-10-04Remove #ifdefs for non-POSIX systems. Also remove #ifdef formillert1-17/+2
2015-07-28remove gratuitous castsderaadt1-2/+2
2015-07-14use atomic operations on sig_atomic_t variables inside the signal handlers,deraadt1-8/+11
2015-07-11XXX annotate another signal racederaadt1-2/+2
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt1-9/+9
2014-12-04Allow POSIX 0i; from Jeremy Mates.daniel1-3/+2
2014-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@millert1-2/+2
2014-07-12If a constant string needs a name, use a static const array insteadguenther1-2/+2
2014-05-24delete restricted ed. no one will ever use this. never documented or enabled.daniel1-21/+4
2014-04-14more x removal;jmc1-2/+2
2014-04-14remove nonstandard DES support because DES. ok beck deraadt miodtedu1-16/+1
2013-11-21add unsigned char casts for specific calls to ctype.h macros.deraadt1-11/+11
2013-01-15tidyespie1-3/+4
2010-08-12Use symbolic names for the file descriptors rather than numeric values.kevlo1-4/+4
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt1-15/+1
2009-01-28synchronize synopsis and usage.sobrado1-3/+3
2008-04-21Initialize the correct variable in HUP handler if ed.hup in currenttobias1-9/+7
2006-04-25various small lint cleanups; ok ottoderaadt1-5/+5
2006-04-17mark signal racederaadt1-3/+6
2003-06-11ansification, art okderaadt1-56/+28
2002-06-09knftodd1-6/+6
2002-03-24Kill unneeded longs; fixes some minor 64 bit issues. deraadt@ OKmillert1-37/+37
2002-01-16Use the volatile specifier to fix warnings about variables beingmillert1-9/+4
2001-11-17volatile sig_atomic_tderaadt1-4/+4
2001-11-11indentderaadt1-3/+2
2001-06-22exit() from a signal handler is a sinderaadt1-4/+4
2001-01-17use sig_atomic_tderaadt1-4/+4
2001-01-16cleanup strcpy, strncpy, signal races, etcderaadt1-150/+178
2000-05-01MAXPATHLEN, not MAXPATHLEN+1; millert agreesderaadt1-5/+4
2000-04-01commons type mismatch; ath@algonet.sederaadt1-3/+3
2000-01-22remove extra externs not needed because of unistd.h (rest of tree will be done later.. contact me if you want to help)deraadt1-5/+3