aboutsummaryrefslogtreecommitdiff
path: root/editors/sed.c
AgeCommit message (Collapse)Author
2007-01-30silly space saving in sedDenis Vlasenko
2007-01-30micro optimizationDenis Vlasenko
2007-01-29preparatory patch for -Wwrite-strings #7: sedDenis Vlasenko
remaining: shell (rather scary mess in msh.c)
2007-01-29preparatory patch for -Wwrite-strings #2Denis Vlasenko
2007-01-29add to testsuite and fix yet another sed corner caseDenis Vlasenko
2007-01-29disable -Wold-style-definition for gcc 3.xDenis Vlasenko
2007-01-29sed: fix 2 bugs (one testsuite entry + one newly found)Denis Vlasenko
but more importantly make code more understandable
2007-01-28fix all known regressions with sed and also make it simplerDenis Vlasenko
2007-01-19strdup -> xstrdupDenis Vlasenko
sed: de-obfuscate piece of code
2007-01-17sed,get_line_from_file: improve commentsDenis Vlasenko
2006-12-26merge post-1.3.0 fixesDenis Vlasenko
2006-12-19remove casts from xmalloc()Denis Vlasenko
2006-12-16inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko
2006-12-10bb_makedev: fix for glibc 2.3.2Denis Vlasenko
sed: fix C++ style declaration
2006-12-10sed: style fixesDenis Vlasenko
2006-12-02sed: fix handling of files not ending in '\n'Denis Vlasenko
2006-12-02sed: improve handling of NULsDenis Vlasenko
2006-10-27last nail into error_msg() (de)capitalizationDenis Vlasenko
2006-10-26rename functions to more understandable namesDenis Vlasenko
2006-10-25sed: mostly style fixes, very small changes in actual codeDenis Vlasenko
2006-10-25use skip_whitespace where appropriateDenis Vlasenko
2006-10-12bb_get_[chomped]line_from_file wasn't descriptive enough.Denis Vlasenko
Renaming...
2006-10-03getopt_ulflags -> getopt32.Denis Vlasenko
It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
2006-10-03rename bb_default_error_retval -> xfunc_error_retvalDenis Vlasenko
2006-10-03lots of silly indent fixesDenis Vlasenko
2006-10-01sed: -e options were handled in reverse order. fix that.Denis Vlasenko
2006-10-01sed: unbreak multiple -e, -f option handling (my fault)Denis Vlasenko
2006-09-22sed: getopt_ulflags'isationDenis Vlasenko
2006-09-22Change license statements (and clean up headers) on some of the files thatRob Landley
Erik or I are primary copyright holders on.
2006-09-17whitespace cleanupDenis Vlasenko
2006-09-08Bugfix for: echo '123456789' | sed 's/./|&/5'Rob Landley
2006-09-06removed a lot of trailing \n in bb_msg() calls. It is addedDenis Vlasenko
automatically by function itself.
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-07-26Rich Filker spotted that sed -e 's/xxx/[/' didn't work right. Did a smallerRob Landley
fix than his, and shrank the code a bit on top of that so the net size is smaller, and added a test to the test suite for this case. Plus I cleaned up the #includes and removed unnecessary "const"s while I was there.
2006-06-28Fix http://bugs.busybox.net/view.php?id=826 in which "(echo; echo) | sed x"Rob Landley
crashes because the empty state of the hold space is NULL but the empty state of the pattern space is "".
2006-06-07- reuse strings and messages. Saves about 600BBernhard Reutner-Fischer
2006-06-05Confirming it's not needed.Rob Landley
2006-06-03- use bb functions instead of handrolling stuff.Bernhard Reutner-Fischer
- add XXX question about supposedly superfluous else clause text data bss dec hex filename 5918 0 0 5918 171e editors/sed.o.orig 5901 0 0 5901 170d editors/sed.o
2006-05-26Change llist_add_* to take the address of the list rather than returning the newRob Landley
head, and change all the callers.
2006-05-24Yann Morin spotted some leftover flotsam from halfway through the recentRob Landley
llist.c interface change that accidentally got checked in. My bad.
2006-05-21Minor cleanups: Convert a few calloc() calls to xzalloc, remove unnecessaryRob Landley
memset, collate variable declarations...
2006-05-09Convert sed's static variables to a single global structure.Rob Landley
2006-05-08Move sed over to the generic llist_t for append. Saves about 90 bytes.Rob Landley
2006-03-09Portability patch from rfelker. The bb_asprintf.c thing needs an eventualRob Landley
follow up in platform.h to set the #ifdef, but the workaround works for everybody, so...
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
2006-03-02- silence warning about "'free_and_close_stuff' used but never defined"Bernhard Reutner-Fischer
2006-03-01- fix compilation of sed.Bernhard Reutner-Fischer
error: static declaration of 'free_and_close_stuff' follows non-static declaration Tiny whitespace cleanup while at it, also make sure that we don't use CONFIG_ anymore. Rob, hope this is ok w/ you..
2006-03-01Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)Rob Landley
from before "if(x) free(x)".
2006-02-24A few changes falling out from the effort to make sed handle embedded NUL bytes.Rob Landley
Checking in to reduce the diff between my tree and svn...
2006-01-25just whitespaceTim Riker