aboutsummaryrefslogtreecommitdiff
path: root/editors (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix largefile breakage; advance version to 1.2.2vda2006-10-271-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16454 69ca8d6d-28ef-0310-b511-8ec308f3f277
* get_terminal_width_height: do not pass insanely large valuesvda2006-10-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16452 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last nail into error_msg() (de)capitalizationvda2006-10-272-34/+34
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16451 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rename functions to more understandable namesvda2006-10-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16447 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sed: mostly style fixes, very small changes in actual codevda2006-10-251-333/+354
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16436 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use skip_whitespace where appropriatevda2006-10-252-83/+86
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16435 69ca8d6d-28ef-0310-b511-8ec308f3f277
* message string changes, mostly for consistency, also -32 bytes in .rodatavda2006-10-203-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16412 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add open_read_close() and similar stuffvda2006-10-141-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16377 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_get_[chomped]line_from_file wasn't descriptive enough.vda2006-10-122-9/+9
| | | | | | | Renaming... git-svn-id: svn://busybox.net/trunk/busybox@16375 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small style fixesvda2006-10-121-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16371 69ca8d6d-28ef-0310-b511-8ec308f3f277
* attempt to regularize atoi mess.vda2006-10-081-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* awk: && -> & in "n->info && OPCLSMASK" - fixes bug 1067vda2006-10-071-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16339 69ca8d6d-28ef-0310-b511-8ec308f3f277
* build system overhaulvda2006-10-054-90/+39
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16307 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getopt_ulflags -> getopt32.vda2006-10-033-8/+8
| | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@16305 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rename bb_default_error_retval -> xfunc_error_retvalvda2006-10-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16304 69ca8d6d-28ef-0310-b511-8ec308f3f277
* lots of silly indent fixesvda2006-10-033-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16302 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 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