aboutsummaryrefslogtreecommitdiff
path: root/editors (follow)
Commit message (Collapse)AuthorAgeFilesLines
* sed: -e options were handled in reverse order. fix that.vda2006-10-011-19/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16287 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sed: unbreak multiple -e, -f option handling (my fault)vda2006-10-011-15/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16286 69ca8d6d-28ef-0310-b511-8ec308f3f277
* several fixes from openWRT projectvda2006-09-261-1/+30
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16229 69ca8d6d-28ef-0310-b511-8ec308f3f277
* awk: getopt_ulflags'isationvda2006-09-221-37/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16185 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sed: getopt_ulflags'isationvda2006-09-221-34/+22
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16184 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change license statements (and clean up headers) on some of the files thatlandley2006-09-221-1/+1
| | | | | | | Erik or I are primary copyright holders on. git-svn-id: svn://busybox.net/trunk/busybox@16175 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace cleanupvda2006-09-172-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16142 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bugfix for: echo '123456789' | sed 's/./|&/5'landley2006-09-081-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16067 69ca8d6d-28ef-0310-b511-8ec308f3f277
* removed a lot of trailing \n in bb_msg() calls. It is addedvda2006-09-062-2/+2
| | | | | | | | automatically by function itself. git-svn-id: svn://busybox.net/trunk/busybox@16059 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damagelandley2006-08-291-1/+1
| | | | | | | | (the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit). git-svn-id: svn://busybox.net/trunk/busybox@16015 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - merge -r15463:15564 from busybox_scratch branch through these changesets:aldot2006-08-201-10/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r15465 | aldot | 2006-06-21 20:48:06 +0200 (Wed, 21 Jun 2006) | 3 lines - use CONFIG_BUSYBOX_EXEC_PATH as before it one was broken by a recent revert. - use xchdir() since all is invain if it fails there anyways, supposedly ------------------------------------------------------------------------ r15466 | aldot | 2006-06-21 20:55:16 +0200 (Wed, 21 Jun 2006) | 2 lines - adjust docs to take CONFIG_BUSYBOX_EXEC_PATH into account. ------------------------------------------------------------------------ r15467 | aldot | 2006-06-21 21:31:24 +0200 (Wed, 21 Jun 2006) | 18 lines - partial fallout of my TREE_USED touchup against gcc-4.2: rip unused vars, save s 144 bytes text data bss dec hex filename 862434 10156 645924 1518514 172bb2 busybox.old 862322 10156 645892 1518370 172b22 busybox function old new delta z_len 4 - -4 textend 4 - -4 part_nb 4 - -4 insize 4 - -4 ifile_size 4 - -4 do_link 4 - -4 new_text 70 60 -10 ipaddr_list_link 33 23 -10 gzip_main 898 822 -76 ------------------------------------------------------------------------------ (add/remove: 0/6 grow/shrink: 0/3 up/down: 0/-120) Total: -120 bytes ------------------------------------------------------------------------ r15468 | aldot | 2006-06-21 21:43:05 +0200 (Wed, 21 Jun 2006) | 19 lines - remove useless global exports function old new delta rpm_main 940 1601 +661 rpm_getstring 107 112 +5 rpm_getint 148 153 +5 loop_through_files 103 106 +3 fileaction_dobackup 115 113 -2 fileaction_list 5 - -5 rpm_getcount 42 - -42 extract_cpio_gz 161 - -161 rpm_gettags 504 - -504 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 4/1 up/down: 674/-714) Total: -40 bytes text data bss dec hex filename 862322 10156 645892 1518370 172b22 busybox.old 862290 10156 645892 1518338 172b02 busybox ------------------------------------------------------------------------ r15555 | aldot | 2006-06-30 14:10:11 +0200 (Fri, 30 Jun 2006) | 22 lines - shrink syslog a little bit, move a big buffer (for 'line') off the bss, fold s emaphore stuff into single caller manually. stats: function old new delta logMessage 395 427 +32 message 1245 1257 +12 opts - 4 +4 small 1 - -1 local_logging 4 - -4 doRemoteLog 4 - -4 circular_logging 4 - -4 syslogd_main 1299 1285 -14 static.res 36 16 -20 .rodata 186650 186586 -64 static.line 1025 - -1025 ------------------------------------------------------------------------------ (add/remove: 1/5 grow/shrink: 2/3 up/down: 48/-1136) Total: -1088 bytes cow@s37:~/src/busybox_scratch$ size sysklogd/syslogd.o{.orig,} text data bss dec hex filename 3723 348 5242 9313 2461 sysklogd/syslogd.o.orig 3697 348 4188 8233 2029 sysklogd/syslogd.o ============================================================================== Overall bloatcheck for the changeset mentioned above: function old new delta rpm_main 953 1608 +655 logMessage 395 427 +32 message 1245 1257 +12 opts - 4 +4 rpm_getstring 107 110 +3 rpm_getint 148 151 +3 loop_through_files 103 104 +1 small 1 - -1 fileaction_dobackup 115 113 -2 z_len 4 - -4 textend 4 - -4 part_nb 4 - -4 local_logging 4 - -4 insize 4 - -4 ifile_size 4 - -4 do_link 4 - -4 doRemoteLog 4 - -4 circular_logging 4 - -4 fileaction_list 5 - -5 new_text 70 60 -10 ipaddr_list_link 33 23 -10 clear_bufs 31 21 -10 syslogd_main 1287 1273 -14 builtin_help 190 176 -14 static.res 36 16 -20 builtin_source 229 199 -30 rpm_getcount 42 - -42 gzip_main 842 786 -56 .rodata 227176 227112 -64 lash_main 609 527 -82 busy_loop 3883 3739 -144 extract_cpio_gz 155 - -155 rpm_gettags 501 - -501 static.line 1025 - -1025 ------------------------------------------------------------------------------ (add/remove: 1/15 grow/shrink: 6/12 up/down: 710/-2221) Total: -1511 bytes git-svn-id: svn://busybox.net/trunk/busybox@15852 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley2006-08-034-66/+44
| | | | | | | | | | | | | 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.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rich Filker spotted that sed -e 's/xxx/[/' didn't work right. Did a smallerlandley2006-07-261-35/+23
| | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@15746 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Standardize on the vi editing directives being on the first line.rpjday2006-07-021-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15581 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove all usage of the "register" storage class specifier.rpjday2006-07-011-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15568 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix http://bugs.busybox.net/view.php?id=826 in which "(echo; echo) | sed x"landley2006-06-281-1/+1
| | | | | | | | crashes because the empty state of the hold space is NULL but the empty state of the pattern space is "". git-svn-id: svn://busybox.net/trunk/busybox@15539 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A few patches from Erik Hovland, turning strncpy() into safe_strncpy() andlandley2006-06-251-2/+1
| | | | | | | removing some unnecessary code. git-svn-id: svn://busybox.net/trunk/busybox@15505 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove pointless "inline" wrapper around get_terminal_width_height().landley2006-06-211-21/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15452 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Zubicaray reported a bug in vi that causes it to eat 100% cpu when you closelandley2006-06-211-87/+2
| | | | | | | | | | an xterm it's running in. The vi signal behavior would catch and restarts lots of signals, like SIGHUP, that should just kill the thing. (Leftover behavior from when it would segfault all the time.) Filtered out the more obviously bad ones. If it segfaults, we should find and fix the problem. git-svn-id: svn://busybox.net/trunk/busybox@15451 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make sure that we see string_insert only if we need it.aldot2006-06-091-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15346 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - reuse strings and messages. Saves about 600Baldot2006-06-071-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15325 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Confirming it's not needed.landley2006-06-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15286 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use bb functions instead of handrolling stuff.aldot2006-06-031-3/+3
| | | | | | | | | | - 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 git-svn-id: svn://busybox.net/trunk/busybox@15278 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Consolidate #include <sys/time.h> so libbb.h does it.landley2006-05-271-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15203 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change llist_add_* to take the address of the list rather than returning the newlandley2006-05-261-1/+1
| | | | | | | head, and change all the callers. git-svn-id: svn://busybox.net/trunk/busybox@15199 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yann Morin spotted some leftover flotsam from halfway through the recentlandley2006-05-241-1/+1
| | | | | | | llist.c interface change that accidentally got checked in. My bad. git-svn-id: svn://busybox.net/trunk/busybox@15162 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor cleanups: Convert a few calloc() calls to xzalloc, remove unnecessarylandley2006-05-212-10/+10
| | | | | | | memset, collate variable declarations... git-svn-id: svn://busybox.net/trunk/busybox@15156 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove SIGIOT as suggested by landley.aldot2006-05-191-3/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15137 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Rich Felker writes:aldot2006-05-191-0/+2
| | | | | | | | | SIGIOT is not defined in any standard i can find and it seems to be useless (alias for SIGABRT) on linux. i put it in #ifdef but it's probably best just to remove it and cut down the size a bit. git-svn-id: svn://busybox.net/trunk/busybox@15128 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove superfluous legacy includes.aldot2006-05-191-6/+5
| | | | | | | This applet should be converted to use llist; __NEED_DLLIST git-svn-id: svn://busybox.net/trunk/busybox@15126 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - include strings.haldot2006-05-192-0/+2
| | | | | | | Thanks to Rich Felker for pointing this out. git-svn-id: svn://busybox.net/trunk/busybox@15124 69ca8d6d-28ef-0310-b511-8ec308f3f277
* pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵vapier2006-05-131-1/+1
| | | | | | mailing list git-svn-id: svn://busybox.net/trunk/busybox@15079 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Convert sed's static variables to a single global structure.landley2006-05-091-123/+130
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15041 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move sed over to the generic llist_t for append. Saves about 90 bytes.landley2006-05-081-27/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15040 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch to fix bug 868, and some related cleanup while I was in the area.landley2006-05-071-18/+6
| | | | | | | | | A tab is now taken as the end of filename if it's there, but if it isn't (because the timestamp isn't there) we continue with the existing untruncated line as the filename. git-svn-id: svn://busybox.net/trunk/busybox@15025 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many byteslandley2006-05-071-14/+14
| | | | | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code. git-svn-id: svn://busybox.net/trunk/busybox@15023 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It was sitting there, in the patches directory, for years. It was delete itlandley2006-05-043-2/+1374
| | | | | | | | or apply it. It's small, simple, evil, part of SUSv3, and we can switch it off. git-svn-id: svn://busybox.net/trunk/busybox@14999 69ca8d6d-28ef-0310-b511-8ec308f3f277
* touchup commentvapier2006-04-161-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14886 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Robert P Day: let menuconfig indent stuff for us, we don't havelandley2006-04-131-11/+11
| | | | | | | to do it in Config.in. git-svn-id: svn://busybox.net/trunk/busybox@14850 69ca8d6d-28ef-0310-b511-8ec308f3f277
* adjust ifdefs for inclusion of string_insert() routinepgf2006-04-051-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14754 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix behavior of ZZ, with respect to readonly mode(s). originalpgf2006-03-281-5/+6
| | | | | | | patch and report from Alexander Griesser. git-svn-id: svn://busybox.net/trunk/busybox@14679 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add support for :wn (initial patch from Alexander Griesser)pgf2006-03-271-8/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14668 69ca8d6d-28ef-0310-b511-8ec308f3f277
* drop obsolete version string in favor of actual BB version (frompgf2006-03-271-16/+4
| | | | | | | Bernhard Fischer) git-svn-id: svn://busybox.net/trunk/busybox@14667 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - revert back to r14406aldot2006-03-131-16/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14531 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Denis Vlasenko turning static const int (which gets emitted intolandley2006-03-102-13/+15
| | | | | | | the busybox binary) into enums (which don't). git-svn-id: svn://busybox.net/trunk/busybox@14513 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Portability patch from rfelker. The bb_asprintf.c thing needs an eventuallandley2006-03-091-1/+1
| | | | | | | | follow up in platform.h to set the #ifdef, but the workaround works for everybody, so... git-svn-id: svn://busybox.net/trunk/busybox@14498 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - backout using features which are not available with the previous stablealdot2006-03-091-2/+6
| | | | | | | version of make (3.71.1). git-svn-id: svn://busybox.net/trunk/busybox@14477 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionlandley2006-03-064-4/+4
| | | | | | | definitions. (That should only be on prototypes.) git-svn-id: svn://busybox.net/trunk/busybox@14457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use absolute path for top_builddir and top_srcdir.aldot2006-03-021-0/+4
| | | | | | | Fixes make trying to include the very same file in an endless loop. git-svn-id: svn://busybox.net/trunk/busybox@14429 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - silence warning about "'free_and_close_stuff' used but never defined"aldot2006-03-021-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14426 69ca8d6d-28ef-0310-b511-8ec308f3f277