aboutsummaryrefslogtreecommitdiff
path: root/editors (follow)
Commit message (Collapse)AuthorAgeFilesLines
* awk: style fixesvda2007-01-011-27/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17127 69ca8d6d-28ef-0310-b511-8ec308f3f277
* awk: undo locale setting for numbers - or else parsingvda2007-01-011-0/+5
| | | | | | | | can act quite mysteriously date: add if(ENABLE_LOCALE_SUPPORT) git-svn-id: svn://busybox.net/trunk/busybox@17126 69ca8d6d-28ef-0310-b511-8ec308f3f277
* awk: style cleanup. A lot of rw data moved to rovda2007-01-011-294/+293
| | | | | | | | (still has quite a lot of statics etc...). getopt32-ification. git-svn-id: svn://busybox.net/trunk/busybox@17125 69ca8d6d-28ef-0310-b511-8ec308f3f277
* next bunch of fixes for bugs found by randconfigvda2006-12-301-202/+205
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17106 69ca8d6d-28ef-0310-b511-8ec308f3f277
* merge post-1.3.0 fixesvda2006-12-261-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17084 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixesvda2006-12-262-13/+12
| | | | | | | last xcalloc replaced by xzalloc git-svn-id: svn://busybox.net/trunk/busybox@17081 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove useless casts (type*) xzalloc(...)vda2006-12-221-7/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17059 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove casts from xmalloc()vda2006-12-193-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17011 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add option to disable command execution from vi & awkvda2006-12-193-4/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17001 69ca8d6d-28ef-0310-b511-8ec308f3f277
* diff: comment - explain what happens when hunk fails to applyvda2006-12-171-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16979 69ca8d6d-28ef-0310-b511-8ec308f3f277
* patch: fix double-free (bug 1120)vda2006-12-171-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16978 69ca8d6d-28ef-0310-b511-8ec308f3f277
* inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]vda2006-12-161-3/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16977 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_makedev: fix for glibc 2.3.2vda2006-12-101-3/+3
| | | | | | | sed: fix C++ style declaration git-svn-id: svn://busybox.net/trunk/busybox@16831 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sed: style fixesvda2006-12-101-328/+338
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16830 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sed: fix handling of files not ending in '\n'vda2006-12-021-10/+30
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16770 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sed: improve handling of NULsvda2006-12-021-46/+64
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16754 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ed: convert style to bbox's. No code changes.vda2006-11-301-224/+93
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16741 69ca8d6d-28ef-0310-b511-8ec308f3f277
* passwd: rework:vda2006-11-301-0/+2
| | | | | | | | | | | | * do not make backup copy by copying (just retain old file) * correctly fall back to /etc/passwd if user is not in shadow * fix bug with overlong passwd entries * be permissive on some kinds of failures * reduce stack usage * code size: -500 bytes git-svn-id: svn://busybox.net/trunk/busybox@16739 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style cleanup: return(a) -> return a, part 2vda2006-11-271-19/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16691 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style cleanup: return(a) -> return a, part 1vda2006-11-272-29/+29
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16690 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 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