aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* import support for microblaze relocations from uClinux-distvapier2006-06-061-0/+59
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15297 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make the default prompt suck less when using fancy promptsvapier2006-06-061-2/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15296 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix from uClinux-dist for proper exit status if reading /proc/modules failedvapier2006-06-061-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15295 69ca8d6d-28ef-0310-b511-8ec308f3f277
* merge blackfin/microblaze from uClinux-distvapier2006-06-061-0/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15294 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use vfork() instead of vork() since the only thing we do is execve() an app ↵vapier2006-06-061-1/+1
| | | | | | after fork (allows time to work on no-mmu) git-svn-id: svn://busybox.net/trunk/busybox@15293 69ca8d6d-28ef-0310-b511-8ec308f3f277
* only check __GNU_LIBRARY__ if it is actually definedvapier2006-06-061-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15292 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Header cleanup on two more networking files (move libbb.h to the top andlandley2006-06-053-26/+17
| | | | | | | | remove #includes that libbb.h already does), plus a minor cleanup of libbb.h to move #includes towards the top of the file where we can see 'em. git-svn-id: svn://busybox.net/trunk/busybox@15287 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
* - add note about need to unify the 4 itoa() implementations.aldot2006-06-051-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15285 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add testcase for grep bug (http://busybox.net/bugs/view.php?id=887)aldot2006-06-041-0/+2
| | | | | | | The patch for bug #887 seems to work for me.. git-svn-id: svn://busybox.net/trunk/busybox@15283 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add note about ingroup and is_a_group_memberaldot2006-06-041-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15282 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add note about removing superfluous fmt specifiersaldot2006-06-041-2/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15281 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - note to cleanup fprintf(2,...) -> bb_error_msg(...) andaldot2006-06-041-0/+6
| | | | | | | perror("bar") -> bb_perror_msg("bar"); git-svn-id: svn://busybox.net/trunk/busybox@15280 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use bb_msg_{read,write}_error where appropriate.aldot2006-06-036-8/+8
| | | | | | | | | text data bss dec hex filename 825015 9100 645216 1479331 1692a3 busybox.old 824919 9100 645216 1479235 169243 busybox git-svn-id: svn://busybox.net/trunk/busybox@15279 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
* Remove #ifdeffed out code, both KEEP_UNUSED and #if 0.landley2006-06-031-492/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15277 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove superfluous call of stack_machine(0) upon exit.aldot2006-06-031-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15276 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - no need to have timer_duration in the data section.aldot2006-06-031-7/+4
| | | | | | | - cleanup a little bit while at it. git-svn-id: svn://busybox.net/trunk/busybox@15275 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use bb_msg_write_error in 3 placesaldot2006-06-031-368/+346
| | | | | | | - whitespace git-svn-id: svn://busybox.net/trunk/busybox@15274 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move #include busybox.h to the very top so we pull in the configaldot2006-06-0317-24/+22
| | | | | | | and eventual platform specific includes in early. git-svn-id: svn://busybox.net/trunk/busybox@15273 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move #include busybox.h to the very top so we pull in the configaldot2006-06-034-35/+9
| | | | | | | | | and eventual platform specific includes in early. - remove two supposedly superfluous newlines from ...error_msg() in modprobe and use shorter boilerplate while at it. git-svn-id: svn://busybox.net/trunk/busybox@15272 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Yann E. Morin: makes modprobe understand shell patternsaldot2006-06-031-2/+7
| | | | | | | | | | | | | | (especially '*') in module aliases, such as: "alias usb:v0582p0075d*dc*dsc*dp*ic*isc*ip* snd_usb_audio" Fixes bug #889 842162 10244 645924 1498330 16dcda busybox.old-4.1.20060603-1948 842178 10244 645924 1498346 16dcea busybox.new-4.1.20060603-1948 git-svn-id: svn://busybox.net/trunk/busybox@15271 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 2006-06-02 Shaun Jackman <sjackman@gmail.com>aldot2006-06-031-6/+1
| | | | | | | | | * shell/lash.c (pseudo_exec) [_NEWLIB_VERSION]: Remove the __getopt_initialized hackery. git-svn-id: svn://busybox.net/trunk/busybox@15270 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - No options should set the current system time.aldot2006-06-031-4/+4
| | | | | | | | | | | | | | | | Shaun Jackman writes: A bug introduced in svn 11946 broke rdate. It no longer sets the current system time when no options are specified. The options have the opposite sense from what one might think, and, oddly enough, -ps is intentionally a no-op. Quoth rdate(8) from the BSD System Manager's Manual: -p Do not set, just print the remote time -s Do not print the time. git-svn-id: svn://busybox.net/trunk/busybox@15269 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Atsushi Nemoto:landley2006-06-021-2/+3
| | | | | | | | | This patch make depmod.pl more robust in cross environment.  If native nm did not recognize target's object, you can override it with NM environment variable. git-svn-id: svn://busybox.net/trunk/busybox@15268 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move #include busybox.h to the very top so we pull in the configaldot2006-06-0234-193/+77
| | | | | | | and eventual platform specific includes in early. git-svn-id: svn://busybox.net/trunk/busybox@15267 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Header cleanup: don't #include headers that libbb.h already includes.landley2006-06-028-39/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15266 69ca8d6d-28ef-0310-b511-8ec308f3f277
* #ifdef reduction.landley2006-06-022-95/+77
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15265 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix CONFIG_DEBUG_INIT compile failurealdot2006-06-021-8/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15264 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use xmalloc()vapier2006-06-021-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15263 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix fdflish typo (reported by erik hovland)pgf2006-06-021-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15262 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - look at bb_applet_name. Should close bugs #892 and #893aldot2006-06-011-40/+40
| | | | | | | also restructure code a bit so the fix only adds 1 byte.. git-svn-id: svn://busybox.net/trunk/busybox@15261 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shrink logread a bit.aldot2006-06-011-22/+6
| | | | | | | | | text data bss dec hex filename 862 26 188 1076 434 logread.o.orig 825 26 188 1039 40f logread.o git-svn-id: svn://busybox.net/trunk/busybox@15260 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make halt and poweroff messages more accurate (i.e., claim "we're about to",pgf2006-06-011-24/+21
| | | | | | | rather than "it's done", and combine with reboot handler to save space. git-svn-id: svn://busybox.net/trunk/busybox@15259 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Shaun Jackman pointed out that KERNEL_VERSION() is used without guards, solandley2006-06-011-2/+0
| | | | | | | defining it in a guard is silly. git-svn-id: svn://busybox.net/trunk/busybox@15258 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The common case APPLET() macro only needs three arguments.landley2006-06-011-232/+232
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15257 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bugfix from Shaun Jackman: don't attempt to write 64 bytes and then fail iflandley2006-05-311-1/+4
| | | | | | | the write wasn't 192 bytes long. git-svn-id: svn://busybox.net/trunk/busybox@15256 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add CONFIG_NITPICK. (And tweak a couple other help entries while I'm there.)landley2006-05-311-15/+37
| | | | | | | Nothing's actually using it yet, but we need it. git-svn-id: svn://busybox.net/trunk/busybox@15255 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Tito to remove long options from hdparm.landley2006-05-313-28/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15254 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use BB endianness macro.landley2006-05-311-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15253 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Header file cleanup. platform.h apparently needs to be included early on so itlandley2006-05-312-36/+21
| | | | | | | | | | | | | | can figure out what header files to include, and override stuff that comes later. But applets shouldn't include platform.h directly, they should include busybox.h or libbb.h. Since busybox.h already includes libbb.h, move libbb.h to the top of busybox.h and platform.h near the top of libbb.h (right after bbconfig.h, which is something platform.h also needs access to). While we're at it, move some stuff from busybox.h to libbb.h so we have one big file to audit/clean up/try to make sense of instead of many. git-svn-id: svn://busybox.net/trunk/busybox@15252 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add catv (separate applet instead of cat -v). Also cleanup cat.c comments,landley2006-05-316-29/+82
| | | | | | | | | | | | | | | | | | | | | the following of which (from cat.c) belongs in svn history instead of the source code: /* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org) * * This is a new implementation of 'cat' which aims to be SUSv3 compliant. * * Changes from the previous implementation include: * 1) Multiple '-' args are accepted as required by SUSv3. The previous * implementation would close stdin and segfault on a subsequent '-'. * 2) The '-u' options is required by SUSv3. Note that the specified * behavior for '-u' is done by default, so all we need do is accept * the option. */ git-svn-id: svn://busybox.net/trunk/busybox@15251 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix IMA compile error i introduced when adding this untested snippet.aldot2006-05-312-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15250 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ha! a scratch-buffer! ;)aldot2006-05-311-0/+25
| | | | | | | put the isdigit hack into it to help landley out.. git-svn-id: svn://busybox.net/trunk/busybox@15249 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make getopt_ulflags aware of CONFIG_GETOPT_LONGaldot2006-05-311-1/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15248 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add CONFIG_FEATURE_WGET_LONG_OPTIONSaldot2006-05-312-0/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15247 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - convert xcalloc(1,x) to xzallocaldot2006-05-311-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15246 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shrink klogd a bitaldot2006-05-311-35/+37
| | | | | | | | | text data bss dec hex filename 569 0 0 569 239 sysklogd/klogd.o.orig 537 0 0 537 219 sysklogd/klogd.o git-svn-id: svn://busybox.net/trunk/busybox@15245 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - s/defined(__uClinux__)/BB_NOMMU/aldot2006-05-317-19/+19
| | | | | | | | | | This needs a second pass to: + add bb_daemon(unsigned char no_chdir, unsigned char no_close, const char*flag) + eventually globally export argc and argv, so we don't need to pass it to bb_daemon(). git-svn-id: svn://busybox.net/trunk/busybox@15244 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - conditionally define BB_NOMMUaldot2006-05-311-4/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15243 69ca8d6d-28ef-0310-b511-8ec308f3f277