aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* use #ifdef CONFIG_* instead of #if CONFIG_*bug12002-11-262-5/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6022 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use #ifdef instead of #ifbug12002-11-263-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6017 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Handle name entries that have a \0 in them, last_patch_65 from Vladimir N. ↵bug12002-11-251-4/+11
| | | | | | Oleynik git-svn-id: svn://busybox.net/trunk/busybox@6013 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont need a seperate functionbug12002-11-241-19/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6011 69ca8d6d-28ef-0310-b511-8ec308f3f277
* When making parent directories set permissions based on the base parent tree ↵bug12002-11-241-8/+26
| | | | | | rather than the new directory to be created. git-svn-id: svn://busybox.net/trunk/busybox@6010 69ca8d6d-28ef-0310-b511-8ec308f3f277
* include libbb after stdlib.h as it breaks dmallocbug12002-11-241-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@6008 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a vfork bug, by Nick Fedchik and Vladimir N. Oleynikbug12002-11-211-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5997 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use vfork, by vodzbug12002-11-151-42/+22
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5947 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move awk from textutils to editors. Cleanup run-parts, saves 200 bytes, ↵bug12002-11-112-2/+141
| | | | | | moves the guts of run_parts to libbb to be used by ifupdown. git-svn-id: svn://busybox.net/trunk/busybox@5909 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Abstract read and seek in unarchiving code, convert bunzip to file ↵bug12002-11-031-12/+1
| | | | | | descriptors, support tar -j git-svn-id: svn://busybox.net/trunk/busybox@5787 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch last_pach62 from vodz. This patch moves all the /proc parsingandersen2002-10-223-45/+149
| | | | | | | code into libbb so it can be shared by ps, top, etc, saving over 1.5k. git-svn-id: svn://busybox.net/trunk/busybox@5685 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move unzip.c uncompress.c from libbb to archiveal/libunarchivebug12002-10-223-1212/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5681 69ca8d6d-28ef-0310-b511-8ec308f3f277
* gz_open is used anymore, use inflate directly, see how its done in ↵bug12002-10-211-58/+0
| | | | | | get_header_tar_gz git-svn-id: svn://busybox.net/trunk/busybox@5679 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont try and make the "/" directorybug12002-10-191-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5678 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch61 from vodz:andersen2002-10-102-31/+33
| | | | | | | | | | | | New complex patch for decrease size devel version. Requires previous patch. Also removed small problems from dutmp and tar applets. Also includes vodz' last_patch61_2: Last patch correcting comment for #endif and more integrated with libbb (very reduce size if used "cat" applet also). Requires last_patch61 for modutils/config.in. git-svn-id: svn://busybox.net/trunk/busybox@5640 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz' last_patch57:andersen2002-09-302-10/+14
| | | | | | | | | | | | | | | | | | Hi, Erik. my_getpw(uid/gid) and applets used it have problem: if username for uid not found, applets can`t detect it (but code pessent). Also "%8ld " format is bad: spaces not required (applets have self format or spec format (tar applet) and overflow for "id" applet...) This problem also pressent in stable version. Patch for unstable in attach. --w vodz git-svn-id: svn://busybox.net/trunk/busybox@5613 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fail straight away rather than recursively printing error messages :)bug12002-09-281-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5602 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix compress support and prevent a segfaultbug12002-09-271-16/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5599 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New common unarchive code.bug12002-09-253-470/+363
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5589 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix error messages conditions, and make them the same as GNU mkdir.bug12002-09-221-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch56 from vodz to simplify copy_file logicandersen2002-09-171-74/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5537 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use "MiB" not "Mb"andersen2002-09-171-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5528 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Let people force overwrite linksandersen2002-09-161-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5516 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Properly honor FILEUTILS_INTERACTIVE and FILEUTILS_FORCE forandersen2002-09-161-1/+65
| | | | | | | | | file all file types (not just regular files and dirs). Unlink destination files when needed. -Erik git-svn-id: svn://busybox.net/trunk/busybox@5514 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Matthias Lang <matthias@corelatus.se> to fix gunzipandersen2002-09-161-26/+63
| | | | | | | error handling and prevent gunzip from hanging. git-svn-id: svn://busybox.net/trunk/busybox@5503 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply vodz' last_patch52andersen2002-09-161-6/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5496 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply vodz's last_patch53.gz (bb_asprintf.c) and last_patch54.gzmjn32002-09-122-155/+60
| | | | | | | (arith.c). git-svn-id: svn://busybox.net/trunk/busybox@5481 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont return an error if the directory already existedbug12002-08-241-3/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5378 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix warningbug12002-08-241-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5377 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewrite, its smallerbug12002-08-231-30/+22
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5364 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Apply vodz last_patch51_2 and run through indentbug12002-08-231-87/+116
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5360 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove duplicate definitions, run through indentbug12002-08-221-1292/+1279
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5348 69ca8d6d-28ef-0310-b511-8ec308f3f277
* replace some global const ints with definesbug12002-08-221-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5347 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run through indent, fix commentsbug12002-08-222-549/+604
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix dietlibc test conditionbug12002-08-151-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5273 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Try to be a bit more dietlibc friendlyandersen2002-08-131-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5263 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Forgot to cvs add bb_asprintf.c (from vodz' patch #50)sandman2002-07-192-3/+91
| | | | | | | | | | | | | - Applied Joel Coltoff's xconnect patch: On both my host system and with mipsel-linux for my embedded systems the function getservbyname() gives the port number already in host order. In fact, this is how it was used by rdate in version 0.60.3. The snapshot I have of the development tree from July 12, 2002 takes the port number and stuffs it into htons() before it uses it. This causes bugs in rdate, telnet and wget. This patch fixes that. git-svn-id: svn://busybox.net/trunk/busybox@5070 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied vodz' patches #49 and #50 (with a small correction in runshell.c)sandman2002-07-195-8/+6
| | | | | | | | | | | | #49: I found one memory overflow and memory leak in "ln" applet. Last patch reduced also 54 bytes. ;) #50: I found bug in loginutils/Makefile.in. New patch have also new function to libbb and aplied this to applets and other cosmetic changes. git-svn-id: svn://busybox.net/trunk/busybox@5066 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Brad Campbell <brad@seme.com.au> notes thatandersen2002-07-111-1/+2
| | | | | | | | xconnect.c needs #include <netinet/in.h> to compile if CONFIG_FEATURE_IPV6 is not defined git-svn-id: svn://busybox.net/trunk/busybox@5041 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Scrub pwd.h and grp.h handling so we don't have to play anyandersen2002-07-035-10/+10
| | | | | | | | silly games. -Erik git-svn-id: svn://busybox.net/trunk/busybox@5011 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A patch from Bart Visscher <magick@linux-fan.com> to add anandersen2002-07-031-0/+78
| | | | | | | | | | | | xconnect helper routine which does: -address and port resolving -tries to connect to all resolved addresses until connected -uses getaddrinfo, so works for IPv6 too This patch also ports rdate, telnet, and wget to use the new xconnect function. Thanks Bart! git-svn-id: svn://busybox.net/trunk/busybox@5004 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch from Bart Visscher <magick@linux-fan.com> addsandersen2002-07-035-7/+238
| | | | | | | | | | | | | | | | | | IPV6 support to busybox. This patch does the following: * Add IPv6 support to libbb * Enable IPv6 interface address display * Add IPv6 config option * Adds ping6, an adaptation of the ping applet for IPv6 * Adds support routines for ping6: - xgethostbyname2 - create_icmp6_socket * Adds ifconfig support for IPv6 * Add support IPv6 to netstat * Add IPv6 support to route Thanks Bart! git-svn-id: svn://busybox.net/trunk/busybox@5003 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup shadow.h stuff so it behaves as intendedandersen2002-07-031-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4990 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove advertising clauses in accordance withaaronl2002-06-231-5/+1
| | | | | | | ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change git-svn-id: svn://busybox.net/trunk/busybox@4971 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Needs shadow.h; otherwise wont compile without CONFIG_USE_BB_SHADOWaaronl2002-06-231-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4969 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Port over the last of the tinylogin appletsandersen2002-06-2311-3/+791
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@4961 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * libbb/copy_file.c (copy_file): Check st_dev instead of st_rdev.kraai2002-06-111-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4882 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Gyepi SAM <gyepi@praxis-sw.com>:andersen2002-06-061-2/+7
| | | | | | | | | When DEBUG is defined 1. need to include resolv.h (for _resinit()) 2. remove _() call around string. It appears to be a remnant of i18n or some such notion git-svn-id: svn://busybox.net/trunk/busybox@4864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for broken handling off BusyBox's own pwd/grp implementationssandman2002-06-045-5/+5
| | | | | | | [Parts of this patch may overlap with my other two patches] git-svn-id: svn://busybox.net/trunk/busybox@4856 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support old-style compress (.Z) files via libbb / unzip( ) callssandman2002-05-191-0/+313
| | | | | | | | | (configurable) - When enabled an applet "uncompress" is also made available (oddname to gunzip) [the cvs add for this file got lost somehow...] git-svn-id: svn://busybox.net/trunk/busybox@4784 69ca8d6d-28ef-0310-b511-8ec308f3f277