aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* "staywithu" writes:andersen2003-08-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | In BusyBox v1.00-pre2, commands like ls, df with -h option report a wrong file size for files larger than 4GBtye!! For example, when I execute 'ls -l', it reports -rw-r--r-- 1 root root 5368709120 Aug 17 2003 large_stream.tp when I execute 'ls -lh', I expect that -rw-r--r-- 1 root root 5.0G Aug 17 2003 large_stream.tp but it reports -rw-r--r-- 1 root root 1.0G Aug 17 2003 large_stream.tp I fixed this bug that... Line 31 in libbb/human_readable.c and line 275 include/libbb.h const char *make_human_readable_str(unsigned long size => const char *make_human_readable_str(unsigned long long size It's OK! git-svn-id: svn://busybox.net/trunk/busybox@7253 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Implement a minimalist 'last' which allows the LEAF project toandersen2003-08-082-19/+9
| | | | | | | | no longer need dumtp. Remove the 'dumtp' applet. -Erik git-svn-id: svn://busybox.net/trunk/busybox@7188 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Kent Robotti noted that mt.c uses "rewind" not "rew"andersen2003-08-081-1/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7186 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Steven Scholz:andersen2003-08-061-1/+7
| | | | | | | | | | | | | | should we rename the define into CONFIG_FEATURE_HDPARM_HDIO_DMA and use it for "set" and "get" ??? Since although CONFIG_FEATURE_HDPARM_HDIO_GET_DMA is _not_ set I still can use "hdparm -d 1 /dev/hda" to switch the DMA on. Is this desireable or meant to be like that? So how about the applied patch? git-svn-id: svn://busybox.net/trunk/busybox@7173 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove code that too agressively disabled inlinesandersen2003-08-011-5/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7152 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bruno Randolf writes:andersen2003-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | this patch fixes run_parts when it's called by ifupdown. 1) argv has to be a NULL terminated char* array, not just a string. 2) run_parts now explicitly sets the environment. this environment is populated from the /etc/network/interfaces config file and is needed by the scripts in /etc/network/if-pre-up.d/. when run-parts is called from the command line the environment is taken from the current process. Vladimir Oleynik then wrote: You can simplify this if use: + bb_xasprintf(&buf[0], "/etc/network/if-%s.d", opt); + buf[1] = NULL; + + run_parts(&buf, 2, environ); + free(buf[0]); --w vodz git-svn-id: svn://busybox.net/trunk/busybox@7130 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from vodz to update httpd usageandersen2003-07-281-4/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7125 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch95 from vodz:andersen2003-07-281-0/+2
| | | | | | | | | | | | | | | | | | | | Hi. Last patch have new libbb function vfork_rexec() for can use daemon() to uClinux system. This patched daemons: syslog, klogd, inetd, crond. This not tested! I havn`t this systems. Also. Previous patch for feature request MD5 crypt password for httpd don`t sended to this mailist on 07/15/03 (mailist have Pytom module problem?). The previous patch included, and have testing. --w vodz git-svn-id: svn://busybox.net/trunk/busybox@7119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove the update utility, that is only relevant to older 2.0.x kernelsandersen2003-07-222-12/+0
| | | | | | | that are no longer supported. git-svn-id: svn://busybox.net/trunk/busybox@7094 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove remaining libc5 support codeandersen2003-07-222-23/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7090 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Very minor rdate updatesandersen2003-07-222-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7086 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Paul Mundt <lethal@linux-sh.org> writes:andersen2003-07-221-2/+4
| | | | | | | | | | | | | | | | | | | | Here's a bunch of fixes for the watchdog app in busybox. This does a couple of things: - configurable timer duration (userspace timer duration is usually configurable within the device drivers themselves). - run as a daemon - shutdown the device properly on SIGINT or SIGHUP - clear the counter immediately instead of sleeping first as well as updating the usage information. This has also been switched over to getopt to deal with the optional timer duration specifier. The changes themselves are harmless and isolated, and I've veried that this works on sh and x86 without any problems. git-svn-id: svn://busybox.net/trunk/busybox@7083 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Paul Mundt:andersen2003-07-221-6/+21
| | | | | | | | | The current SC_x references automatically assume that everyone uses ttyS/tts as their naming scheme for their serial ports. This isn't the case for quite a few architectures, including sh, sh64, h8, arm, etc. git-svn-id: svn://busybox.net/trunk/busybox@7082 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Matteo Croce submitted a hdparm applet.andersen2003-07-222-0/+78
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7081 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a silly typoandersen2003-07-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7063 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update a bunch of docs. Run a script to update my email addr.andersen2003-07-141-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This declaration no longer needs to hide when using dmallocandersen2003-07-071-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7046 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add the fdformat utility, based on a patch from Kent Robotti,andersen2003-07-052-0/+10
| | | | | | | | but I then completely reworked the fdformat utility to comply with the current busybox way of doing things. git-svn-id: svn://busybox.net/trunk/busybox@7037 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix stupid unterminated parenthesisandersen2003-07-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@7032 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Russell Coker:andersen2003-07-032-6/+24
| | | | | | | | I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox. git-svn-id: svn://busybox.net/trunk/busybox@7031 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Geir Thomassen wrote, regarding networking/httpd.c line 1358andersen2003-06-261-1/+2
| | | | | | | | | | | | | | | | | Hello, I think the test for an unconfigured httpd is wrong in the CVS (busybox-unstable-20030620.tar.bz2) flg_deny_all is default 0 vodz then wrote: Oops. You are right. Also, this mistake haved from two place. Last patch rewroted to my new get_ularg() function for overcompensate size from this error found ;-) git-svn-id: svn://busybox.net/trunk/busybox@6981 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet: patch, applies a unified diffbug12003-06-222-0/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6964 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Based on a tinylogin patch from Philip Blundell, add severalandersen2003-06-211-3/+7
| | | | | | | | additional options to adduser. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6962 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add prototype update missing from last_patch89. Fix screwyandersen2003-06-201-1/+1
| | | | | | | formatting in cut. git-svn-id: svn://busybox.net/trunk/busybox@6941 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch89 from vodz:andersen2003-06-201-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manuel, I rewrite bb_getopt_ulflags() function for more universal usage. My version support now: - options with arguments (optional arg as GNU extension also) - complementaly and/or incomplementaly and/or incongruously and/or list options - long_opt (all applets may have long option, add supporting is trivial) This realisation full compatibile from your version. Code size grow 480 bytes, but only coreutils/* over compensate this size after using new function. Last patch reduced over 800 bytes and not full applied to all. "mkdir" and "mv" applets have long_opt now for demonstrate trivial addition support long_opt with usage new bb_getopt_ulflags(). Complementaly and/or incomplementaly and/or incongruously and/or list options logic is not trivial, but new "cut" and "grep" applets using this logic for examples with full demostrating. New "grep" applet reduced over 300 bytes. Mark, Also. I removed bug from "grep" applet. $ echo a b | busybox grep -e a b a b a b But right is printing one only. --w vodz git-svn-id: svn://busybox.net/trunk/busybox@6939 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix rpm usage msgandersen2003-06-151-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6928 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz, last_patch_88bug12003-06-101-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6906 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make all syscall declarations use the syscall() functionandersen2003-05-261-0/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6859 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz, last_patch_86bug12003-05-261-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6853 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add some missing lines for getty, patch by Steven Scholzbug12003-05-131-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6835 69ca8d6d-28ef-0310-b511-8ec308f3f277
* minit, a Minimal init system.bug12003-05-112-0/+38
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6833 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet, foldbug12003-04-272-0/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6821 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Config option to create an fgrep aliasbug12003-04-271-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6820 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Minor cleanups. Document the cmp -l option.mjn32003-03-191-4/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6755 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major coreutils update.mjn32003-03-193-110/+214
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Define bb_xgetlarg as a standard interface for extractingandersen2003-03-071-0/+1
| | | | | | | | numbers from getopt which includes careful error checking. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6713 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet sha1sumbug12003-02-172-0/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6611 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Bastian Blankbug12003-02-151-0/+9
| | | | | | | | | | - ip route flush - different usage for telnetd in inetd mode - changes for the default flags of the ip features - if no /usr requested, udhcpc should use the script also without /usr. git-svn-id: svn://busybox.net/trunk/busybox@6604 69ca8d6d-28ef-0310-b511-8ec308f3f277
* udhcpc is supposed to be in /sbin, not /usr/sbin/andersen2003-02-101-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6552 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New applet, inetd, make httpd features more configurable, update authors, ↵bug12003-02-092-0/+11
| | | | | | | | | last_patch_80 from Vladimir N. Oleynik git-svn-id: svn://busybox.net/trunk/busybox@6544 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from mathuria, compatability with solarisbug12003-02-082-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6539 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from John F. Kelly to add in a utility for configuringandersen2003-01-232-0/+14
| | | | | | | vlan under linux, derived from Ben Greear's VLAN "vconfig" tool. git-svn-id: svn://busybox.net/trunk/busybox@6431 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply patch from Ghozlane Toumi to add -inum support to find.andersen2003-01-231-1/+15
| | | | | | | | | | | Apply patch from Ghozlane Toumi to make find smaller by combining similar error messages Forward port find -newer support from busybox stable that was missing from unstable. -Erik. Fixup usage messages for find. -Erik git-svn-id: svn://busybox.net/trunk/busybox@6429 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Artem Egorkine to support the -m optionandersen2003-01-231-1/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6428 69ca8d6d-28ef-0310-b511-8ec308f3f277
* run telnet from inetd, present login prompt if login is configured,bug12003-01-211-1/+3
| | | | | | | patch from Bastian Blank git-svn-id: svn://busybox.net/trunk/busybox@6407 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New test mode that allows run_parts to fail silently if the directorybug12003-01-201-4/+4
| | | | | | | is not found. Patch from Bastian Blank git-svn-id: svn://busybox.net/trunk/busybox@6395 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont use getopt_long, minor usage changes, patch by Nick Fedchikbug12003-01-191-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6385 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Compile option to avoid using /usr directory, patch by Bastian Blankbug12003-01-191-0/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6383 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch for the debian-cvs package, ip* applets in /bin, patch from Bastian Blankbug12003-01-141-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6336 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup addgroup help textandersen2003-01-141-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6326 69ca8d6d-28ef-0310-b511-8ec308f3f277