summaryrefslogtreecommitdiff
path: root/usr.bin/sed/compile.c
AgeCommit message (Expand)Author
2015-10-26Tidy up error() levels: merge COMPILE and COMPILE2, and kill ERROR (unused)Jeremie Courreges-Anglas
2015-10-26Rename err() to error() to prevent confusion with the stdlib function.mmcc
2015-06-23POSIX specifies that that multiple '!' characters preceding aTodd C. Miller
2014-12-12Bounds check the file path used in the 'w' command. Modified versionJonathan Gray
2014-10-08add a xreallocarray() like the existing fatal xmalloc(), and use it toTheo de Raadt
2013-11-28unsigned char for ctypeTheo de Raadt
2010-11-15NUL-terminate buffer in compiler_text() after realloc, not before.Todd C. Miller
2010-07-01Follow POSIX (IEEE Std 1003.1, 2004 Edition) in the implementationChristian Weisgerber
2010-07-01Allow [ to be used as a delimiter.Christian Weisgerber
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-10-23When adding text due to an a, c, or i command, don't eat the space(s) atReyk Floeter
2009-08-07add -E flag to compile regular expressions using the extended POSIXDamien Miller
2008-10-16Move memory allocation closer to where it is needed. Also makeTodd C. Miller
2008-10-09Now that len is set later in compile_subst() we need to move theTodd C. Miller
2008-10-09In compile_subst(), adjust for the fact that the initial bufferTodd C. Miller
2008-10-08Allow sed to handle arbitrarily long lines. Also plug a memoryTodd C. Miller
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
2007-01-09Accept empty command, from Matthew R. Dempsky; ok deraadt@ millert@Otto Moerbeek
2006-10-09pretty. the comma operator should not be used to cram two statements intoTed Unangst
2005-04-11spacingTheo de Raadt
2004-07-10xmalloc()->xrealloc() so that patterns larger than _POSIX2_LINE_MAX*2-1Otto Moerbeek
2004-07-09From the other BSDs: fix a bug that made sed(1) fail if the lastOtto Moerbeek
2004-06-131-byte overflow; ryo@nerv.org, otto okTheo de Raadt
2004-02-17Unbreak numeric flag parsing. Based on a fix from Jared Yanovich; thisOtto Moerbeek
2003-10-07handle ; terminators for strings like other sed programs do. this isTheo de Raadt
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-07-09make sed r command not bail out. try sed -e "/a/r"Theo de Raadt
2002-06-11kill err(3) newlines; ok miod@, deraadt@Jason Peel
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-19kill more registersMike Pechkin
1998-09-24correct sccsid, not like it really mattersTodd C. Miller
1998-09-22Terminate our output string correctly if we've gotbrian
1998-02-15fix a commentTheo 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)Todd C. Miller
1997-11-14fix for a line continuation bug, more than a year ald. work by mckusick,Theo de Raadt
1997-04-28Use strtoul() not strtol() when assigning to an unsigned long.Todd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt