summaryrefslogtreecommitdiff
path: root/bin/ed
AgeCommit message (Collapse)Author
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
2014-12-04document some more commands that are POSIX extensions. ok jmc@Daniel Dickman
2014-12-04Allow POSIX 0i; from Jeremy Mates.Daniel Dickman
Tested to match gnu by sobrado@; on solaris you probably need to use xpg6 utils to get this behaviour. ok krw@, deraadt@.
2014-12-02Remove prototypes for functions that were already removed.Todd C. Miller
From Benjamin Scher Purcell.
2014-12-02The t.t test is missing and so the t.* test is not being run.Daniel Dickman
Reconstruct a passing t.t based on the input data (t.d) and the expected result (t.r).
2014-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@Todd C. Miller
2014-11-26document in STANDARDS that we do not mark eols with $;Jason McIntyre
originally reported by ezequiel garz?n
2014-11-20remove sys/file.h includes in favor of fcntl.h where needed.Ted Unangst
ok deraadt guenther
2014-07-12If a constant string needs a name, use a static const array insteadPhilip Guenther
of a pointer or non-const array, as that minimizes the symbols, maximizes the placement into read-only memory, and avoids warnings from gcc -Wformat=2 when they're used as format strings.
2014-05-24delete restricted ed. no one will ever use this. never documented or enabled.Daniel Dickman
ok millert@
2014-05-18use reallocarrayMarc Espie
okay miod@, millert@
2014-04-20Remove more commentary about recently removed des supportTheo de Raadt
from Daniel Dickman
2014-04-14more x removal;Jason McIntyre
2014-04-14remove nonstandard DES support because DES. ok beck deraadt miodTed Unangst
2014-03-06add an ASYNCHRONOUS EVENTS section for signals, as per vi;Jason McIntyre
ok millert
2014-02-24NO_REALLOC_NULL and NEED_INSQUE are long gone.Todd C. Miller
2014-02-22STANDARDS:Jason McIntyre
- `%' is an extension - `^' is neither required nor prohibited by posix - the deprecated `-' option is "behaviour unspecified" ok millert
2014-01-01Fixed typos and style.Tobias Stoeckmann
ok jmc@
2013-11-28remove trailing spaces.Igor Sobrado
2013-11-21add unsigned char casts for specific calls to ctype.h macros.Theo de Raadt
ok guenther step
2013-01-15tidyMarc Espie
okay miod@
2012-12-04remove sunos backwards compatTheo de Raadt
ok guenther
2010-09-03add an EXIT STATUS section for /bin;Jason McIntyre
2010-08-12Use symbolic names for the file descriptors rather than numeric values.Kevin Lo
Some from damien@, millert@ ok phessler@, millert@
2010-07-27properly escape some "!"; reported by kristapsJason McIntyre
2010-07-22move exit returns blurb out of DIAGNOSTICS; from daniel dickmanJason McIntyre
2010-01-10remove references to docs we no longer install;Jason McIntyre
2010-01-04Stop installing many of the incredibly dated and un-authoritative share/docTheo de Raadt
files. If any information found in these documents is worthwhile and you miss it, please make the time to work it into the manual pages (which people actually do read). ok guenther
2009-10-28one more () for halexTheo de Raadt
2009-10-28the code to support -DDES spread it's way outside of -DDES... fix thatTheo de Raadt
ok guenther
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2009-01-28synchronize synopsis and usage.Igor Sobrado
2008-10-01for the `g' and `G' commands, document that if no lines matchJason McIntyre
the regular expression then the current line number remains unchanged;
2008-06-08Prevent a segmentation fault when ed receives a signal while being inTobias Stoeckmann
getpass(). With input by and ok otto
2008-04-21Initialize the correct variable in HUP handler if ed.hup in currentTobias Stoeckmann
directory cannot be written and ~/ed.hup path has to be built up. Also pay special care that HOME is an absolute path name. With input by millert. ok deraadt, millert
2008-02-12use ftello instead of ftell; from Davil Hill; ok millert@Otto Moerbeek
2007-11-06fix format stringCharles Longeau
ok ray@ gilles@
2007-09-24typos; from Pierre RiteauJason McIntyre
2007-09-03malloc(n * m) -> calloc(n, m); ok espieTheo de Raadt
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-29- consistent STANDARDS blurbJason McIntyre
- note which options are extensions to POSIX discussed w/ deraadt otto millert
2007-02-24There is no filter_lines function, remove its prototype. From Mark Lumsden.Todd C. Miller
2006-04-25various small lint cleanups; ok ottoTheo de Raadt
2006-04-17mark signal raceTheo de Raadt
2004-10-04remove the section on regular expressions - instead point peopleJason McIntyre
to re_format.7 (which is where the list of BREs went); also, rename LIMITATIONS to CAVEATS, as this is a standard mdoc thing, and shuffle it to the end of the page;
2004-05-08use arc4random() instead of crappy rand(); otto okTheo de Raadt
2004-04-19correct path to usd docs;Jason McIntyre
2004-04-06- add a margin when formatting w/ -TasciiJason McIntyre
- some punctuation fixes - typos and other small stuff