aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Patch from Natanael Copa to make start-stop-daemon just use readlink andlandley2006-09-041-8/+9
| | | | | | | strcmp to check if a program is already running. git-svn-id: svn://busybox.net/trunk/busybox@16047 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sulogin: fix bug: -tNNN didn't workvda2006-09-031-4/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16045 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dpkg: fix buffer overflow (bug 983)vda2006-09-031-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16044 69ca8d6d-28ef-0310-b511-8ec308f3f277
* uuencode: common implementation for wget and uuencode (closing bug 694)vda2006-09-037-84/+105
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16043 69ca8d6d-28ef-0310-b511-8ec308f3f277
* archival: added O_TRUNC so that when we overwrite files on unpack,vda2006-09-035-13/+19
| | | | | | | | | we truncate them. Also spotted & fixed hard to trigger bug with extension handling. git-svn-id: svn://busybox.net/trunk/busybox@16042 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: revert older fix (non-portable), added new one.vda2006-09-034-7/+44
| | | | | | | | testsuite tar-extracts-all-subdirs now passes. git-svn-id: svn://busybox.net/trunk/busybox@16041 69ca8d6d-28ef-0310-b511-8ec308f3f277
* zcip: bb_error_msg had stray newlines; small optimization in opt parsingvda2006-09-031-4/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16040 69ca8d6d-28ef-0310-b511-8ec308f3f277
* zcip: minor fixesvda2006-09-031-20/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16039 69ca8d6d-28ef-0310-b511-8ec308f3f277
* zcip: fix stdout/err versus syslog output.vda2006-09-031-12/+27
| | | | | | | | Incomplete: xfunc() would not respect this. TODO. git-svn-id: svn://busybox.net/trunk/busybox@16038 69ca8d6d-28ef-0310-b511-8ec308f3f277
* zcip: getopt -> bb_getopt_ulflagsvda2006-09-032-37/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16037 69ca8d6d-28ef-0310-b511-8ec308f3f277
* zcip: convert lots of zero-initialized localsvda2006-09-031-41/+43
| | | | | | | | in zcip_main() to statics in bss. git-svn-id: svn://busybox.net/trunk/busybox@16036 69ca8d6d-28ef-0310-b511-8ec308f3f277
* zcip: use xfunc() where appropriatevda2006-09-031-29/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16035 69ca8d6d-28ef-0310-b511-8ec308f3f277
* replacing func() with xfunc() where appropriatevda2006-09-036-21/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16034 69ca8d6d-28ef-0310-b511-8ec308f3f277
* zcip: apply patch fromvda2006-09-031-92/+182
| | | | | | | | | http://bugs.busybox.net/view.php?id=1005 zcip does not claim another IP after defending git-svn-id: svn://busybox.net/trunk/busybox@16033 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: tar xf foo.tar dir/dir did not extract all subdirs.vda2006-09-023-1/+16
| | | | | | | | Added testsuite entry for this git-svn-id: svn://busybox.net/trunk/busybox@16032 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping: bind -> xbindvda2006-09-021-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16031 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping(6): use htons instead of SWAP_BE.vda2006-09-022-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16030 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping: implement -I optionvda2006-09-023-12/+52
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16029 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping6: resolve interface name to number early.vda2006-09-022-8/+9
| | | | | | | | gcc is more efficient at truncating int to int16 via cast, use that instead of &. git-svn-id: svn://busybox.net/trunk/busybox@16028 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Sync ping and ping6 a bit, fix style and indentation.vda2006-09-022-35/+32
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16027 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix endianness issue in ping6vda2006-09-021-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16026 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Csaba Henk to make the "User-Agent" header field configurable.aldot2006-09-022-4/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16025 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Walter Harms contributed a section on scripting languages. (I trimmed itlandley2006-09-011-7/+36
| | | | | | | a bit.) git-svn-id: svn://busybox.net/trunk/busybox@16024 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir Dronnikov also submitted a CIFS support patch to mount, which Ilandley2006-09-012-8/+55
| | | | | | | | heavily reworked here and probably broke. Tomorrow I need to set up a copy of samba to test against. (This compiles, I make no promises beyond that.) git-svn-id: svn://busybox.net/trunk/busybox@16023 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer complained about moving --sort-common.landley2006-08-301-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16018 69ca8d6d-28ef-0310-b511-8ec308f3f277
* There's some strange bug in glibc that triggers if you combine thelandley2006-08-291-2/+5
| | | | | | | | | | | | | | | | | | --gc-sections linker flag with static linking. If this happens, then the "stdout" variable (used by printf() and such) will only work if stdout is _not_ redirected. I.E "./busybox" prints stuff, but "./busybox | cat" does not produce any output. (But even when redirected, "write(1,"blah",4);" continues to work just fine.) This is clearly a glibc bug, but to avoid triggering it I've moved the --gc-sections flag so it only gets added when we're not statically linking. If somebody would like to go poke Ulrich Drepper, you can trivially reproduce this with a "hello world" program, ala: gcc -static -Wl,--gc-sections hello.c && (./a.out | cat) git-svn-id: svn://busybox.net/trunk/busybox@16017 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - set version back to 1.2.0 like it was before. Add at least -svn to the ↵aldot2006-08-291-2/+2
| | | | | | Extraversion to be able to distinguish it from the now old 1.2.0 release git-svn-id: svn://busybox.net/trunk/busybox@16016 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damagelandley2006-08-2914-124/+92
| | | | | | | | (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
* - it's a mistake to remove lib-specific prefixes from libraries; still the ↵aldot2006-08-282-2/+2
| | | | | | removal should be complete. git-svn-id: svn://busybox.net/trunk/busybox@16010 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - pull from busybox_scratch: r15829:15850aldot2006-08-2820-1283/+1162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various fixes, cleanups and shrinkage: saves 952 Bytes: text data bss dec hex filename 1087742 15853 790632 1894227 1ce753 ../busybox/busybox.old 1086790 15853 790632 1893275 1ce39b busybox via: # scripts/bloat-o-meter ../busybox/busybox_unstripped.old busybox_unstripped function old new delta ipcrm_main 756 822 +66 getval - 61 +61 maybe_set_utc - 40 +40 udhcpc_main 2896 2912 +16 md5_hash_block 428 437 +9 opt 8 16 +8 qgravechar 106 110 +4 make_bitmap 292 295 +3 inflate_unzip 2056 2059 +3 add_partition 1412 1414 +2 __parsespent 156 158 +2 qrealloc 41 42 +1 format - 1 +1 catv_main 313 314 +1 watch_main 293 292 -1 varunset 81 80 -1 part 1 - -1 check_if_skip 837 836 -1 start_stop_daemon_main 840 837 -3 create_lost_and_found 175 172 -3 supress_non_delimited_lines 4 - -4 static.l 4 - -4 static.c 5 1 -4 bsd_sum_file 237 233 -4 eval2 338 332 -6 arithmetic_common 166 158 -8 cmpfunc 22 5 -17 cksum_main 294 275 -19 cmp_main 465 439 -26 dd_main 1535 1508 -27 rmmod_main 376 333 -43 cut_file 727 644 -83 ipcs_main 3809 3721 -88 cut_main 722 614 -108 date_main 1443 1263 -180 remove_ids 222 - -222 ------------------------------------------------------------------------------ (add/remove: 3/4 grow/shrink: 11/18 up/down: 217/-853) Total: -636 bytes git-svn-id: svn://busybox.net/trunk/busybox@16009 69ca8d6d-28ef-0310-b511-8ec308f3f277
* need libsepol in addtion to libselinuxvapier2006-08-281-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16008 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - do maintainers duty by bumping version to 1.3.0-pre0;aldot2006-08-281-38/+39
| | | | | | | pullup r15828 from busybox_scratch git-svn-id: svn://busybox.net/trunk/busybox@16007 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bugfix from Jason Schoon: send the right signal with -s.landley2006-08-281-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16006 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More allbareconfig fixes.landley2006-08-281-1/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16005 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Jordan Crouse submitted a patch to only include xregcomp.c when we actuallylandley2006-08-281-1/+15
| | | | | | | use it, thus fixing building against uClibc with regex support disabled. git-svn-id: svn://busybox.net/trunk/busybox@16004 69ca8d6d-28ef-0310-b511-8ec308f3f277
* No real need for my_query_module() and this eliminates some type-punnedlandley2006-08-285-79/+37
| | | | | | | pointer warning on certain gcc versions (and saves 38 bytes). git-svn-id: svn://busybox.net/trunk/busybox@16003 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - pgf(?) found and fixed that missing dependency (usage: .config, IIRC), so ↵aldot2006-08-281-3/+0
| | | | | | remove the now unneeded NOTPARALLEL clause git-svn-id: svn://busybox.net/trunk/busybox@16000 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Unbreak allbareconfig a bit. (The telnetd.c fix is a perfect example of whylandley2006-08-282-19/+7
| | | | | | | applets which are a forest of #ifdefs are unmaintainable.) git-svn-id: svn://busybox.net/trunk/busybox@15998 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Antti Seppala (with dots over the last two a's) wants our getty to initializelandley2006-08-241-1/+2
| | | | | | | | | | the terminal the way mingetty does instead of the way agetty does. It's a bit ugly for somebody else to be writing to a console sitting at a login: prompt, but it's uglier when newline doesn't work as expected if they do. git-svn-id: svn://busybox.net/trunk/busybox@15984 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Yann Morin so modprobe won't return failure if the module getslandley2006-08-221-2/+11
| | | | | | | loaded while it's running (ala multi-device hotplug). git-svn-id: svn://busybox.net/trunk/busybox@15906 69ca8d6d-28ef-0310-b511-8ec308f3f277
* "Jordan Crouse" <jordan.crouse@amd.com> says:landley2006-08-221-3/+5
| | | | | | | | | | | | | The following patch makes coreutils/test.c act fail gracefully if getgroups() returns a -1.  This fixes a problem on the One Laptop Per Child ROM image whereby we were getting odd Memory exhausted messages for '[' and 'test'. Found by Mitch Bradley <wmb@firmworks.com> (Tweaked by Rob: no need to initialize a static to NULL, or realloc something that's only allocated when it's NULL.) git-svn-id: svn://busybox.net/trunk/busybox@15905 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Michael Opdenacker spotted that makefile should use () instead of {}.landley2006-08-211-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15890 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Oops, Michael pointed out that my cleanup left some dead code in there.landley2006-08-211-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15889 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yann E. Morin spotted a broken check_ld macro.landley2006-08-201-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15855 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Michael Opdenacker contributed a readahead applet.landley2006-08-205-0/+60
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15854 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - typo s/ENABLE_WGET_LONG_OPTIONS/ENABLE_FEATURE_WGET_LONG_OPTIONS/galdot2006-08-201-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15853 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - merge -r15463:15564 from busybox_scratch branch through these changesets:aldot2006-08-2014-210/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ 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
* - typo: s/optarg/nprobes_str; fixes segfault as reported by Raphael HUCKaldot2006-08-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15826 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove CRIS specific CFLAG from generic flags-checking.aldot2006-08-181-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15825 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove last reminiscents of IN_BUSYBOXaldot2006-08-183-28/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15824 69ca8d6d-28ef-0310-b511-8ec308f3f277