summaryrefslogtreecommitdiff
path: root/bin/ed/re.c
AgeCommit message (Collapse)Author
2018-06-19Revert previous, there were some unintended beviour changes.Martijn van Duren
2018-06-18Remove the parse_char_class and let regcomp determine if our bracketsMartijn van Duren
are balanced. OK millert@ and tb@
2016-03-22header cleanupmmcc
from Edgar Pettijohn, correction from deraadt@
2015-10-09The variable errmsg can be static in main.c if code in re.c uses an ownTobias Stoeckmann
buffer to construct error messages. with input by and ok millert@
2015-10-09Define functions as static when they are not used outside their own c-files.Tobias Stoeckmann
ok millert@
2015-10-04Remove useless pattern_t typedef, POSIX regex is here to stay soTodd C. Miller
just use regex_t directly.
2015-07-28remove gratuitous castsTheo de Raadt
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)
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
2003-06-11ansification, art okTheo de Raadt
2002-06-09knfTodd T. Fries
2001-01-16cleanup strcpy, strncpy, signal races, etcTheo de Raadt
1998-01-21Back out last change. ed and sed should not use extended regular expressions.Todd C. Miller
1998-01-18Support extended (modern) instead of basic (obsolescent) regular expressions.Todd C. Miller
1996-12-14-Wall'ing.Michael Shalayeff
1996-10-12Back out my sprintf -> snprintf changes where they don't make sense andTodd C. Miller
use good ole strcpy() instead. Also use perror() instead of fprintf() where it makes sense.
1996-09-15sprintf -> snprintf paranoiaTodd C. Miller
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt