summaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* - rename libbb's password helpers as suggested in libbb.hBernhard Reutner-Fischer2005-09-202-7/+13
| | | | | | | | my_getpwnam -> bb_xgetpwnam /* dies on error */ my_getgrnam -> bb_xgetgrnam /* dies on error */ my_getgrgid -> bb_getgrgid my_getpwuid -> bb_getpwuid my_getug -> bb_getug
* ENABLE_FEATURE_TOP_CPU_USAGE_PERCENTAGE->CONFIG_FEATURE_TOP_CPU_USAGE_PERCENTAGE"Vladimir N. Oleynik"2005-09-161-3/+3
|
* split libbb: moved xregcomp separatelly for speed up recompile"Vladimir N. Oleynik"2005-09-141-1/+1
|
* FEATURE->ENABLE_FEATURE loses one for 'top' applet"Vladimir N. Oleynik"2005-09-141-3/+3
|
* This code exists to compensate for ancient broken build environments which,Rob Landley2005-09-073-231/+2
| | | | | | | | | | | | as far as I can tell, are no longer relevant. Modern busybox refuses to build under libc5 (there's a specific test and #error for that), and I'm not sure building against 2.1 kernel headers on Alpha was ever relevant. I'm happy to put any of this back if anybody can point to a real need for it, but if so we need to specifically document what environment is being compensated for. (And we should quarrantine the build environment code into one place, anyway. Maybe "quirks.h" for known compiler and libc quirks?)
* Amir Shalem writes:Mike Frysinger2005-09-061-7/+7
| | | | this patch fix syscall names mix-up in libb/syscalls.c
* - sync traceroute with Slackware-10.1"Vladimir N. Oleynik"2005-09-061-5/+12
| | | | | (support -FIl -g gw -i if -z pt now). - libbb/getopt_ulflags.c support bb_opt_complementally="x-x" as trigger now
* get_terminal_width_height.c was in there twice.Rob Landley2005-09-051-1/+1
|
* 1) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"2005-09-051-124/+149
| | | | | 2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
* Actually returning ret might be good.Rob Landley2005-09-051-0/+2
|
* According to bug #63, crond is unhappy with crontab lines that don't end in aRob Landley2005-09-011-4/+8
| | | | newline, or lines that have trailing spaces.
* Bernhard Fischer suggested that get_terminal_width_height() should returnRob Landley2005-09-011-22/+7
| | | | | | the result of the ioctl so callers can tell if we have a tty. (0 means we have a tty, nonzero means the ioctl couldn't find size info and we fake 80x24. Really we should fake 80x25, but oh well...)
* make sure __NF_sysfs exists before trying to use itMike Frysinger2005-08-271-0/+9
|
* Two FEATURE_CLEAN_UP patches from Shaun Jackman, closing filehandles.Rob Landley2005-08-221-0/+1
|
* the () around isspace actually mattersMike Frysinger2005-08-161-2/+4
|
* Bernhard Fischer says: fix comment typoMike Frysinger2005-08-161-1/+1
|
* Major rewrite of mount, umount, losetup. Untangled lots of code, shrunkRob Landley2005-08-104-191/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | things down a bit, fixed a number of funky corner cases, added support for several new features (things like mount --move, mount --bind, lazy unounts, automatic detection of loop mounts, and so on). Probably broke several other things, but it's fixable. (Bang on it, tell me what doesn't work for you...) Note: you no longer need to say "-o loop". It does that for you when necessary. Still need to add "user mount" support, which involves making mount suid. Not too hard to do under the new infrastructure, just haven't done it yet... The previous code had the following notes, that belong in the version control comments: - * 3/21/1999 Charles P. Wright <cpwright@cpwright.com> - * searches through fstab when -a is passed - * will try mounting stuff with all fses when passed -t auto - * - * 1999-04-17 Dave Cinege...Rewrote -t auto. Fixed ro mtab. - * - * 1999-10-07 Erik Andersen <andersen@codepoet.org>. - * Rewrite of a lot of code. Removed mtab usage (I plan on - * putting it back as a compile-time option some time), - * major adjustments to option parsing, and some serious - * dieting all around. - * - * 1999-11-06 mtab support is back - andersee - * - * 2000-01-12 Ben Collins <bcollins@debian.org>, Borrowed utils-linux's - * mount to add loop support. - * - * 2000-04-30 Dave Cinege <dcinege@psychosis.com> - * Rewrote fstab while loop and lower mount section. Can now do - * single mounts from fstab. Can override fstab options for single - * mount. Common mount_one call for single mounts and 'all'. Fixed - * mtab updating and stale entries. Removed 'remount' default. - *
* implemented a builtin echo command in ash. moved the guts of thePaul Fox2005-08-092-1/+165
| | | | | | echo applet into libbb, and now call bb_echo() from both echo.c and ash.c
* apgo in Bug 322 writes: kill off CONFIG_FEATURE_MTAB_FILENAMEMike Frysinger2005-07-301-2/+2
|
* move the ifdef to after libbb.h include, so it can do some good.Paul Fox2005-07-271-1/+1
|
* use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger2005-07-271-1/+1
|
* 2005-04-05 Shaun Jackman <sjackman@gmail.com>Mike Frysinger2005-07-261-14/+14
| | | | * libbb/printf.c: Check for __NEWLIB_H__ before __GLIBC__.
* no longer used as reported by apgo in Bug 348Mike Frysinger2005-07-261-0/+0
|
* ifdef all of loop.c with CONFIG_FEATURE_MOUNT_LOOP. won'tPaul Fox2005-07-221-0/+2
| | | | | compile due to CONFIG_FEATURE_MOUNT_LOOP_MAX otherwise. reported by Stephane Billiart.
* applying fix for:Paul Fox2005-07-191-1/+1
| | | | | | 0000117: Remove linefeed after overwrite prompt using cp -i User input not on the same line as the prompt when about to overwrite a file.
* applying fix from:Paul Fox2005-07-191-1/+1
| | | | | | 0000068: mount limited to max 8 loop devices (patch provided) (made minor wording change for config help message)
* applying fix from:Paul Fox2005-07-191-3/+7
| | | | | 0000067: cp -p produces misleading error message
* change the hardcoded error constant (0x80000000UL) to a nice flexible define ↵Mike Frysinger2005-05-111-3/+3
| | | | (BB_GETOPT_ERROR)
* now that mjn3 explained it to me, add documentation for the 3rd field in ↵Mike Frysinger2005-05-111-5/+12
| | | | long opts
* add documentation for long options and touch up the current docs now that i ↵Mike Frysinger2005-05-101-39/+62
| | | | actually understand how to use the function myself :)
* syntax/whitespace touchupMike Frysinger2005-05-091-2/+2
|
* Shaun Jackman said:Rob Landley2005-05-031-9/+21
| | | | | | This patch adds a CONFIG_FEATURE_CLEAN_UP stanza, and also adds an ifdef around the SIOCGIFMAP call.
* A patch from Takeharu KATO to update/fix SE-Linux support.Rob Landley2005-05-033-28/+37
|
* Revert Tito's patch to zcip. My bad, David Brownell had objected and I missedRob Landley2005-05-031-1/+1
| | | | | it...
* On Tuesday 19 April 2005 21:10, Tito wrote and today added:Rob Landley2005-05-011-1/+1
| | | | | | | | | | | | | > Hi, > this is a first attempt of size optimization for zcip taking into account all > the hints given so far on the list. > I've applied just the more obvious busyboxifications so maybe it could be > optimized more. BTW: I've ripped out a lot of debug code and changed c++ // comments to /* */ as both were rather confusing for a newbie like me. ;-) Sorry to the author for that. I know that this makes mantaining the code easier, but I'm simple minded....
* Correct errors preventing busybox tar from working properly,Eric Andersen2005-04-271-6/+11
| | | | fixing bug http://bugs.uclibc.org/view.php?id=231
* In Bug 5, Tito writes:Mike Frysinger2005-04-181-116/+210
| | | | | | | | | | | | | | This is a first attempt to improve the comments of getopt_ulflags.c. Maybe under some aspects the text could be refined, but so far it is already usable and should help people who "avoided getopt_ulflags as the pest" to understand how it works. This patch was created with the help of Vodz, the author of the code, who explained me patiently how getopt_ulflags works and with the help of Paul Fox, who corrected my broken english. So thanks and merits should go to them also.
* Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen2005-04-162-2/+2
| | | | which were otherwise cluttering the global namespace.
* Rework to fix http://bugs.uclibc.org/view.php?id=107Eric Andersen2005-04-161-32/+41
|
* Add bb_msg_read_errorEric Andersen2005-04-162-1/+4
|
* fake out support for POSIX -H and -L options since busybox cp dereferences ↵Mike Frysinger2005-04-141-4/+5
| | | | everything by default
* Shaun Jackman writes: Fix typo. Use __NR_umount2 instead of __NR_pivot_root.Mike Frysinger2005-03-041-1/+1
|
* add some more commentsMike Frysinger2005-03-041-30/+29
|
* newlib fixe from Shaun JackmanMike Frysinger2005-03-041-1/+1
|
* Sort rewrite to be SUSv3 compliant. New config option, updated help, andRob Landley2005-01-241-1/+7
| | | | a couple of infrastructure bits.
* Dear andersen:Eric Andersen2005-01-041-1/+2
| | | | | | | | | | | | | Is the change on libbb/loop.c which you commited in 2005/1/3 effective really? The __GLIBC__ macro and __UCLIBC__ macro are defined in feature.h in glibc source, so the change may not be effective. If you want to check this with __GLIBC__, feature.h header is needed. Some architectures(e.g. PPC series) need to include linux/posix_types.h in stead of asm/posix_types.h, so the patch which is attached with this mail include <linux/posix_types.h>.
* perhaps a better fixEric Andersen2005-01-031-0/+2
|
* Workaround for uClibc-specific header problem described here:Rob Landley2004-12-091-1/+1
| | | | | | http://www.busybox.net/lists/busybox/2004-December/013276.html Rob
* Make certain clients of bb_make_directory default to honoringEric Andersen2004-10-131-1/+8
| | | | the user's umask
* Patch from Claus Klein to increase, and make more apparentEric Andersen2004-10-081-2/+4
| | | | the hard coded limit on the number of mounts