aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Vodz, last_patch_123, patch have new version getopt_ulflags.Glenn L McGrath2004-01-221-28/+20
| | | | | | - size reduced 34 bytes - don`t use dynamic memory allocation - small indent correction.
* Patch from Atsushi Nemoto, recent MIPS kernel headersGlenn L McGrath2004-01-211-0/+4
| | | | | does not provide PAGE_SHIFT for userland (because now mips-linux kernel supports PAGESIZE other than 4K).
* Modify bb_lookup_port to allow the protocol to be specified, allowingGlenn L McGrath2004-01-171-2/+2
| | | | /etc/services support for inetd, netcat and tftp.
* Fix a bug where mount could check the wrong device. st_rdev is the correctEric Andersen2004-01-131-2/+5
| | | | | | | device ID iff the named file is a character or block special device. Otherwise it is meaningless junk, in which case st_dev should be used. This was done incorrectly, which could cause mount to display bogus mount info. -Erik
* Patch from Matt Kraai to fix debian bug #227081Glenn L McGrath2004-01-111-1/+1
| | | | | | | | | | | | | | | | | | cp does not truncate existing destinations. That is, after running echo foo > foo echo fubar > fubar cp foo fubar the contents of fubar are foo r instead of foo
* fix broken formattingEric Andersen2003-12-231-3/+3
|
* don't mess up errnoEric Andersen2003-12-231-2/+9
|
* bother. It seems I can't read.Eric Andersen2003-12-201-4/+0
|
* doh!Eric Andersen2003-12-201-1/+1
|
* Try to accomodate systems that do not define PAGE_SHIFTEric Andersen2003-12-201-0/+4
|
* Use low level file descriptors to match bb_copyfd_eofGlenn L McGrath2003-12-201-20/+19
|
* Change interface to bb_lookup_host, dont try and set port inside thisGlenn L McGrath2003-12-201-18/+15
| | | | | | | | function as there is no gracefull way of handling failures. Rename bb_getport to bb_lookup_port, allow a default port to be specified so it always returns a correct value. Modify ftpgetput/rdate/wget to use the new interface. wget/rdate now use etc/services with a falback default value.
* Allow escaped 8 bit characters in bb_opt_complementalyGlenn L McGrath2003-12-191-1/+1
|
* Fix a bug preventing use of escaped characters that use the signed bitGlenn L McGrath2003-12-191-3/+2
|
* Get vfork_daemon_rexec working under uclinuxRuss Dill2003-12-151-6/+57
|
* When a size of 0 is passed to copyfd_size, dont do anything, it wasGlenn L McGrath2003-11-241-1/+4
| | | | reading untill eof which breaks tar
* Fix warningGlenn L McGrath2003-11-221-2/+6
|
* As we no longer use function pointers for read in common archiving codeGlenn L McGrath2003-11-213-27/+38
| | | | | | | archive_xread can be replaced with bb_full_read, and archive_copy_file with bb_copyfd* bb_copyfd is split into two functions bb_copyfd_size and bb_copyfd_eof, they share a common backend.
* Dont over-read fd, use function pointer for hash function.Glenn L McGrath2003-11-201-29/+43
|
* Superficial changesGlenn L McGrath2003-11-201-19/+17
|
* Merge common parts of sha1sum and md5sum, which is everything except theGlenn L McGrath2003-11-102-1/+849
| | | | | | algorithms. Move algorithms to hash_fd and make them available via a common function.
* Fix rdate and ftpget/ftpput so they compile with the new xconnect.Eric Andersen2003-11-031-2/+2
| | | | | I have checked rdate. Someone should also check ftpget/ftpput to be sure they still work.
* Rework wget, the xconnect interface, and its various clientsEric Andersen2003-10-312-50/+38
| | | | | | | | | | | | | | in order to fix the problems with round robin DNS reported by Andrew Flegg: http://busybox.net/lists/busybox/2003-October/009579.html This removes the ipv6 specific xconnect dns lookups. I do not see why that would need to be special cased for ipv6 as was done, but that will just have to be tested. So IPV6 people -- please test this change! -Erik
* Patch from Arthur Othieno to fix a compiler warningEric Andersen2003-10-221-0/+2
|
* make this a little bit less messyEric Andersen2003-10-221-13/+11
|
* Fix an ommision preventing building, patch by Tito.Glenn L McGrath2003-10-091-3/+3
|
* We did not have a safe_write, which is the analog to safe_read. ConvertEric Andersen2003-10-092-1/+49
| | | | | full_write to use safe_write internally, which is needed to guarantee proper behavior, i.e. when writing to a pipe.
* Vodz last_patch_105 without his xargs patch which doenst apply cleanlyGlenn L McGrath2003-10-061-2/+12
|
* Add the "install" applet, move get_ug_id to libbb as its used by chown,Glenn L McGrath2003-09-242-1/+29
| | | | chgrp and install.
* Configuration option to define wether to follows GNU sed's behaviour Glenn L McGrath2003-09-161-2/+1
| | | | | or the posix standard. Put the cleanup code back the way it was.
* Compile get_terminal_width_heightGlenn L McGrath2003-09-161-7/+8
|
* Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)Eric Andersen2003-09-151-0/+66
| | | | | to ensure proper fallback behavior on, i.e. serial consoles. -Erik
* more crond+crontab integrating with loginutil libbb functions and deletedGlenn L McGrath2003-09-031-4/+12
| | | | | patch from Thomas Gleixner to init. Viodz last_patch_108
* move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as oneGlenn L McGrath2003-09-022-1/+5
| | | | | constant. Vodz last_patch_107
* Fix compile error and reducing size for libbb/get_console.c to previous size.Glenn L McGrath2003-09-011-45/+27
| | | | Vodz last_patch106
* The default behaviour for run-parts is corrected to continue if an errorGlenn L McGrath2003-08-301-2/+3
| | | | | is encountered in a script. Patch by Philip Blundell
* Remove some unwanted code, patch from Holger Schurig, confirmed by vodzGlenn L McGrath2003-08-291-4/+0
|
* Fix for compiling with ipv6Glenn L McGrath2003-08-291-8/+8
|
* "staywithu" writes:Eric Andersen2003-08-221-4/+3
| | | | | | | | | | | | | | | | | | | | | | | 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!
* Fix a bug reported by junkio@cox.net involving the mode_chars index.Manuel Novoa III2003-08-141-1/+6
|
* Latest dash update from vodzEric Andersen2003-08-062-376/+1
|
* Patch from vodz to cleanup libbb/obscure.c:password_check()Eric Andersen2003-08-061-3/+3
| | | | to not copy too much data.
* Joe.C writes:Eric Andersen2003-08-061-1/+5
| | | | | | | | | | | | | | | I've reported this bug in April and it still exists in 1.00-pre2. So I made patches for both 0.60.x and 1.00-pre2. The patch is very simple, just use strncmp instead of strcmp. Please apply if it is OK. Here's the procedure to test this problem: Create a executable with very long name, say 'test_1234567890123456' and execute it. Try using 'killall' or 'pidof' to find/kill this program. Without this patch, you can't find the program.
* Save 0.5K.Manuel Novoa III2003-08-021-129/+154
|
* Vladimir N. Oleynik writes:Eric Andersen2003-07-301-2/+5
| | | | | | | | | | | | | | | | This moment have algoritmicaly problem, not overflow: strcat(wrapped, wrapped) - may be looped. Hand patch: - else if (strstr(strcat(wrapped, wrapped), newmono)) + else { + safe_strncpy(wrapped + lenwrap, wrapped, lenwrap + 1); + if (strstr(wrapped, newmono)) +} --w vodz
* Bruno Randolf writes:Eric Andersen2003-07-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 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
* last_patch95 from vodz:Eric Andersen2003-07-282-1/+28
| | | | | | | | | | | | | | | | | 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
* James Petterson writes:Eric Andersen2003-07-281-2/+2
| | | | | | | | | | | | | | | | | | I've found a possible bug in libbb/interface.c, in function if_readlist_proc(). This function calls get_name(), and passes as an argument 'name', a buffer of 16 bytes (IFNAMSIZ). The function get_name(), however, may use more than 16 bytes, when it is searching for aliases. Even if you don't have an alias interface, you can run into trouble if the interface has received more than 99999999 bytes, in which case the space between the interface name and the rx stats disappears, as in the /proc/net/dev example below: wan0.200:264573315 462080 ... In this case get_name() correctly identifies the interface name as "wan0.200", but to do that it uses 18 bytes of the 'name' buffer, which could lead to an unpredictable error. A simple solution would be to increase the size of the buffer:
* Remove remaining libc5 support codeEric Andersen2003-07-226-274/+10
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-1454-80/+73
|