aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* When lstat returns an error (such as file not found), the value oflandley2005-10-091-10/+9
| | | | | | | | | st_mode is random garbage (under uClibc), leading to random triggering of the S_ISDIR() case when the destination will be a normal file which doesn't exist yet. I.E. checking the return value of lstat is not optional. git-svn-id: svn://busybox.net/trunk/busybox@11815 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rob Sullivan added character and equivalence classes to tr. I changed somelandley2005-10-081-3/+55
| | | | | | | comments. git-svn-id: svn://busybox.net/trunk/busybox@11814 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make libiproute compile..aldot2005-10-085-22/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11813 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rename CONFIG_NFSMOUNT to CONFIG_FEATURE_MOUNT_NFS so allbaseconfig canlandley2005-10-084-5/+6
| | | | | | | find it (and tweak defconfig to catch up). git-svn-id: svn://busybox.net/trunk/busybox@11812 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rename CONFIG_SORT_BIG to CONFIG_FEATURE_SORT_BIG so allbareconfig can find it.landley2005-10-082-6/+26
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11811 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Coprolith polishing time: Tito switched devfsd over from CONFIG_ to ENABLE_.landley2005-10-081-317/+174
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11810 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - rename bareconfig to allbareconfig and emit "is not set" strings needed foraldot2005-10-081-5/+8
| | | | | | | oldconfig. git-svn-id: svn://busybox.net/trunk/busybox@11808 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Shaun Jackman pointed out that fgets_unlocked() and friends are gnu extensionslandley2005-10-081-17/+5
| | | | | | | | not in newlib, and also that all the _unlocked variants are kind of pointless in this context. git-svn-id: svn://busybox.net/trunk/busybox@11807 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add config target bareconfig. Enables all applets but without any features.aldot2005-10-071-2/+8
| | | | | | | Rob wanted to have regression tests if a bug crops up. Here you are wrt find :) git-svn-id: svn://busybox.net/trunk/busybox@11803 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Note that directories for make have to be given as absolute paths.aldot2005-10-071-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11802 69ca8d6d-28ef-0310-b511-8ec308f3f277
* trim dep linesvodz2005-10-071-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11800 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - size reduction of pidofaldot2005-10-072-43/+31
| | | | | | | - fix typo in reverse_pidlist git-svn-id: svn://busybox.net/trunk/busybox@11799 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fast replace if src outsidevodz2005-10-071-29/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11798 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove superfluous C statements ";;" in decompress_unzip.c, dpkg_deb.c ↵aldot2005-10-074-5/+5
| | | | | | | | | | ifconfig.c - gzip.c: see if O_NOFOLLOW is defined before using it, else take alternate path closes bug #221 (partially; The rest will follow later). git-svn-id: svn://busybox.net/trunk/busybox@11797 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix bug #94: 'make install' does not respect PREFIX nor CROSS when using O=aldot2005-10-071-21/+27
| | | | | | | - other minor cosmetic tweaks while at it git-svn-id: svn://busybox.net/trunk/busybox@11796 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The supposedly trivial CONFIG->ENABLE conversion wasn't so trivial. Thelandley2005-10-061-22/+50
| | | | | | | | -exec feature shouldn't be tangled up with this, so revert everything but the new exec feature for the moment. git-svn-id: svn://busybox.net/trunk/busybox@11794 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - pidof(8): make -s optional and optional -o; closes #168aldot2005-10-063-33/+136
| | | | | | | first cut. git-svn-id: svn://busybox.net/trunk/busybox@11793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* to bb_getopt_ulflags()vodz2005-10-061-10/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11792 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change strange depend to libbb.h, but require busybox.hvodz2005-10-064-5/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11791 69ca8d6d-28ef-0310-b511-8ec308f3f277
* update documentationvodz2005-10-061-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11790 69ca8d6d-28ef-0310-b511-8ec308f3f277
* bb_mkdep can use src outside nowvodz2005-10-061-1/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11789 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add a few basic tests for pidof(8)aldot2005-10-061-0/+29
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11788 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - support make check V=1 to run the checks in verbose modealdot2005-10-063-8/+20
| | | | | | | - pass verbose from runtest to testing.sh git-svn-id: svn://busybox.net/trunk/busybox@11787 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add llist_free_one() and llist_free() to libbbaldot2005-10-061-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11786 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add llist_free_one() and llist_free() to libbb; Add a bit of documentation.aldot2005-10-063-32/+73
| | | | | | | | | | - change llist_add_to_end as proposed by vodz in http://busybox.net/lists/busybox/2005-September/016411.html - remove unneeded includes, add short boilerplate and copyright to llist.c - move COMM_LEN from find_pid_by_name to libbb.h and use it in procps_status_t - add reverse_pidlist() to find_pid_by_name. Will be needed for pidof. git-svn-id: svn://busybox.net/trunk/busybox@11785 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove explicit dependency of busybox.o and applets.o and usage.h from thealdot2005-10-052-2/+2
| | | | | | | Makefile. Instead fix the invocation of bb_mkdep. git-svn-id: svn://busybox.net/trunk/busybox@11774 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more lost changes BSD signals -> SysV signals. Noticed by Bernhardvodz2005-10-051-8/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11773 69ca8d6d-28ef-0310-b511-8ec308f3f277
* BSD signals -> SysV signals, int->socklet_t. Noticed by Bernhardvodz2005-10-051-17/+28
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11772 69ca8d6d-28ef-0310-b511-8ec308f3f277
* another more correction for getopt_ulflags() documentation (examples)vodz2005-10-051-5/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11771 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix generation of .depend when building out of tree.aldot2005-10-051-1/+1
| | | | | | | point bb_mkdep to the source directory and not the build-directory. git-svn-id: svn://busybox.net/trunk/busybox@11770 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - busybox.o and applets.o depend on usage.haldot2005-10-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11769 69ca8d6d-28ef-0310-b511-8ec308f3f277
* more correction for getopt_ulflags() documentation by author of this fuck logicvodz2005-10-051-5/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11768 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add proper separators. sorry for the noise..aldot2005-10-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add a bit more documentation to vodz' recent additions.aldot2005-10-051-8/+26
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11766 69ca8d6d-28ef-0310-b511-8ec308f3f277
* update bb_getopt_ulflags special for 'ps' applet, usaging '-' as first group ↵vodz2005-10-052-19/+50
| | | | | | | | | | char from bb_opt_complementally is new feature: set argv is options; use new bb_getopt_ulflags for ps # define terminal_width 80->79 for unwide use stdout file descriptor for get_terminal_width_height. (its must) git-svn-id: svn://busybox.net/trunk/busybox@11765 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Fix spurious rebuilds for (parallel) out-of-tree builds.aldot2005-10-051-8/+12
| | | | | | | | | | Make sure that the directories are order-only prerequisites. Otherwise we may have object files created after the timestamp of the directory was updated which would lead to spurious rebuilds (as some of the dentries may be older than the dir itself). git-svn-id: svn://busybox.net/trunk/busybox@11764 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix building out-of-tree;aldot2005-10-056-106/+149
| | | | | | | | | | | | | | | | | | | | to test, checkout the source (let's assume /scratch/src/busybox), then mkdir /tmp/bb ; cd /tmp/bb make top_srcdir=/scratch/src/busybox O="$(pwd)" -f /scratch/src/busybox/Makefile allyesconfig check - default to O=$(pwd) if no O was specified. Now you can just specify the top_srcdir (without O=/somewhere) to create the obj-tree in pwd. - make "make configtarget buildtarget" work. Previously this didn't work due to how HAVE_DOT_CONFIG was evaluated. Two separate steps were needed before, e.g. make config ; make busybox. - remove some unneeded variables from Rules.mak (BB_SRC_DIR from Mr. ldoolitt@recycle.lbl) which suggest that the stuff fixed above didn't work before. - move selinux libraries to where they belong (from Makefile to Rules.mak) - update the docs to mention svn instead of cvs and provide an example for building out-of-tree in INSTALL. git-svn-id: svn://busybox.net/trunk/busybox@11762 69ca8d6d-28ef-0310-b511-8ec308f3f277
* as Tito points out, e2fsck and fsck need more dependenciesvapier2005-10-051-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11761 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dont typecast lvalue since gcc hates thatvapier2005-10-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11760 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ps selinux logic correction, but do not tested toovodz2005-10-041-4/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11756 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use updated bb_getopt_ulflags() for ps appletvodz2005-10-042-27/+58
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11755 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add option 'w' to ps (wide output, optional feature defaults to off).aldot2005-10-043-39/+48
| | | | | | | | | | | | | | - move to ENABLE_ and use shorter boilerplate. sizes without selinux-support: text data bss dec hex filename 356 0 0 356 164 procps/ps.o.with-w 300 0 0 300 12c procps/ps.o.no-w 302 0 0 302 12e procps/ps.o.oorig git-svn-id: svn://busybox.net/trunk/busybox@11751 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add prototype for llist_add_to_end to libbb.haldot2005-10-041-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11750 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add find -exec support from Rob Sullivan, and convert CONFIG_ to ENABLE_landley2005-10-043-44/+78
| | | | | | | while we're in the area. git-svn-id: svn://busybox.net/trunk/busybox@11749 69ca8d6d-28ef-0310-b511-8ec308f3f277
* speed up * 2vodz2005-10-031-105/+94
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11733 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sync inetd with slackware-10.2 inetd (OpenBSD-1.79), have destroy bug 455vodz2005-10-032-910/+1494
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11732 69ca8d6d-28ef-0310-b511-8ec308f3f277
* excellent shrinkage patch by Titovapier2005-10-024-367/+307
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11730 69ca8d6d-28ef-0310-b511-8ec308f3f277
* clean out unneeded E2FSCK variablesvapier2005-10-021-4/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11729 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove debug warningvapier2005-10-021-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11728 69ca8d6d-28ef-0310-b511-8ec308f3f277
* reorder arches into alphabetical ordervapier2005-10-021-198/+201
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11727 69ca8d6d-28ef-0310-b511-8ec308f3f277