people/mcb30/busybox.git
15 years agomake Hit_Return() available when CONFIG_FEATURE_VI_COLON is off. it's
pgf [Sun, 9 Oct 2005 14:26:26 +0000 (14:26 +0000)]
make Hit_Return() available when CONFIG_FEATURE_VI_COLON is off.  it's
needed elsewhere as well now.

git-svn-id: svn://busybox.net/trunk/busybox@11816 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoWhen lstat returns an error (such as file not found), the value of
landley [Sun, 9 Oct 2005 11:16:01 +0000 (11:16 +0000)]
When lstat returns an error (such as file not found), the value of
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

15 years agoRob Sullivan added character and equivalence classes to tr. I changed some
landley [Sat, 8 Oct 2005 21:21:08 +0000 (21:21 +0000)]
Rob Sullivan added character and equivalence classes to tr.  I changed some
comments.

git-svn-id: svn://busybox.net/trunk/busybox@11814 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years ago- make libiproute compile..
aldot [Sat, 8 Oct 2005 20:47:15 +0000 (20:47 +0000)]
- make libiproute compile..

git-svn-id: svn://busybox.net/trunk/busybox@11813 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoRename CONFIG_NFSMOUNT to CONFIG_FEATURE_MOUNT_NFS so allbaseconfig can
landley [Sat, 8 Oct 2005 18:49:45 +0000 (18:49 +0000)]
Rename CONFIG_NFSMOUNT to CONFIG_FEATURE_MOUNT_NFS so allbaseconfig can
find it (and tweak defconfig to catch up).

git-svn-id: svn://busybox.net/trunk/busybox@11812 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoRename CONFIG_SORT_BIG to CONFIG_FEATURE_SORT_BIG so allbareconfig can find it.
landley [Sat, 8 Oct 2005 17:48:25 +0000 (17:48 +0000)]
Rename CONFIG_SORT_BIG to CONFIG_FEATURE_SORT_BIG so allbareconfig can find it.

git-svn-id: svn://busybox.net/trunk/busybox@11811 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoCoprolith polishing time: Tito switched devfsd over from CONFIG_ to ENABLE_.
landley [Sat, 8 Oct 2005 17:42:35 +0000 (17:42 +0000)]
Coprolith polishing time: Tito switched devfsd over from CONFIG_ to ENABLE_.

git-svn-id: svn://busybox.net/trunk/busybox@11810 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years ago- rename bareconfig to allbareconfig and emit "is not set" strings needed for
aldot [Sat, 8 Oct 2005 11:08:28 +0000 (11:08 +0000)]
- rename bareconfig to allbareconfig and emit "is not set" strings needed for
  oldconfig.

git-svn-id: svn://busybox.net/trunk/busybox@11808 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoShaun Jackman pointed out that fgets_unlocked() and friends are gnu extensions
landley [Sat, 8 Oct 2005 02:23:22 +0000 (02:23 +0000)]
Shaun Jackman pointed out that fgets_unlocked() and friends are gnu extensions
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

15 years ago- add config target bareconfig. Enables all applets but without any features.
aldot [Fri, 7 Oct 2005 18:45:03 +0000 (18:45 +0000)]
- add config target bareconfig. Enables all applets but without any features.
  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

15 years ago- Note that directories for make have to be given as absolute paths.
aldot [Fri, 7 Oct 2005 17:44:14 +0000 (17:44 +0000)]
- Note that directories for make have to be given as absolute paths.

git-svn-id: svn://busybox.net/trunk/busybox@11802 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agotrim dep lines
vodz [Fri, 7 Oct 2005 15:53:21 +0000 (15:53 +0000)]
trim dep lines

git-svn-id: svn://busybox.net/trunk/busybox@11800 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years ago- size reduction of pidof
aldot [Fri, 7 Oct 2005 15:44:37 +0000 (15:44 +0000)]
- size reduction of pidof
- fix typo in reverse_pidlist

git-svn-id: svn://busybox.net/trunk/busybox@11799 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agofast replace if src outside
vodz [Fri, 7 Oct 2005 15:36:26 +0000 (15:36 +0000)]
fast replace if src outside

git-svn-id: svn://busybox.net/trunk/busybox@11798 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years ago- remove superfluous C statements ";;" in decompress_unzip.c, dpkg_deb.c ifconfig.c
aldot [Fri, 7 Oct 2005 11:34:50 +0000 (11:34 +0000)]
- remove superfluous C statements ";;" in decompress_unzip.c, dpkg_deb.c 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

15 years ago- fix bug #94: 'make install' does not respect PREFIX nor CROSS when using O=
aldot [Fri, 7 Oct 2005 10:53:15 +0000 (10:53 +0000)]
- fix bug #94: 'make install' does not respect PREFIX nor CROSS when using O=
- other minor cosmetic tweaks while at it

git-svn-id: svn://busybox.net/trunk/busybox@11796 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoThe supposedly trivial CONFIG->ENABLE conversion wasn't so trivial. The
landley [Thu, 6 Oct 2005 16:39:17 +0000 (16:39 +0000)]
The supposedly trivial CONFIG->ENABLE conversion wasn't so trivial.  The
-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

15 years ago- pidof(8): make -s optional and optional -o; closes #168
aldot [Thu, 6 Oct 2005 15:37:02 +0000 (15:37 +0000)]
- pidof(8): make -s optional and optional -o; closes #168
  first cut.

git-svn-id: svn://busybox.net/trunk/busybox@11793 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoto bb_getopt_ulflags()
vodz [Thu, 6 Oct 2005 15:30:17 +0000 (15:30 +0000)]
to bb_getopt_ulflags()

git-svn-id: svn://busybox.net/trunk/busybox@11792 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agochange strange depend to libbb.h, but require busybox.h
vodz [Thu, 6 Oct 2005 15:18:09 +0000 (15:18 +0000)]
change strange depend to libbb.h, but require busybox.h

git-svn-id: svn://busybox.net/trunk/busybox@11791 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoupdate documentation
vodz [Thu, 6 Oct 2005 14:53:43 +0000 (14:53 +0000)]
update documentation

git-svn-id: svn://busybox.net/trunk/busybox@11790 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agobb_mkdep can use src outside now
vodz [Thu, 6 Oct 2005 14:47:16 +0000 (14:47 +0000)]
bb_mkdep can use src outside now

git-svn-id: svn://busybox.net/trunk/busybox@11789 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years ago- add a few basic tests for pidof(8)
aldot [Thu, 6 Oct 2005 12:50:11 +0000 (12:50 +0000)]
- add a few basic tests for pidof(8)

git-svn-id: svn://busybox.net/trunk/busybox@11788 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years ago- support make check V=1 to run the checks in verbose mode
aldot [Thu, 6 Oct 2005 12:48:03 +0000 (12:48 +0000)]
- support make check V=1 to run the checks in verbose mode
- pass verbose from runtest to testing.sh

git-svn-id: svn://busybox.net/trunk/busybox@11787 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years ago- add llist_free_one() and llist_free() to libbb
aldot [Thu, 6 Oct 2005 12:12:51 +0000 (12:12 +0000)]
- add llist_free_one() and llist_free() to libbb

git-svn-id: svn://busybox.net/trunk/busybox@11786 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years ago- add llist_free_one() and llist_free() to libbb; Add a bit of documentation.
aldot [Thu, 6 Oct 2005 12:10:48 +0000 (12:10 +0000)]
- add llist_free_one() and llist_free() to libbb; Add a bit of documentation.
- 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

15 years ago- remove explicit dependency of busybox.o and applets.o and usage.h from the
aldot [Wed, 5 Oct 2005 14:52:21 +0000 (14:52 +0000)]
- remove explicit dependency of busybox.o and applets.o and usage.h from the
  Makefile. Instead fix the invocation of bb_mkdep.

git-svn-id: svn://busybox.net/trunk/busybox@11774 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agomore lost changes BSD signals -> SysV signals. Noticed by Bernhard
vodz [Wed, 5 Oct 2005 14:14:55 +0000 (14:14 +0000)]
more lost changes BSD signals -> SysV signals. Noticed by Bernhard

git-svn-id: svn://busybox.net/trunk/busybox@11773 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoBSD signals -> SysV signals, int->socklet_t. Noticed by Bernhard
vodz [Wed, 5 Oct 2005 14:01:13 +0000 (14:01 +0000)]
BSD signals -> SysV signals, int->socklet_t. Noticed by Bernhard

git-svn-id: svn://busybox.net/trunk/busybox@11772 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoanother more correction for getopt_ulflags() documentation (examples)
vodz [Wed, 5 Oct 2005 13:58:40 +0000 (13:58 +0000)]
another more correction for getopt_ulflags() documentation (examples)

git-svn-id: svn://busybox.net/trunk/busybox@11771 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years ago- fix generation of .depend when building out of tree.
aldot [Wed, 5 Oct 2005 13:55:45 +0000 (13:55 +0000)]
- fix generation of .depend when building out of tree.
  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

15 years ago- busybox.o and applets.o depend on usage.h
aldot [Wed, 5 Oct 2005 13:53:46 +0000 (13:53 +0000)]
- busybox.o and applets.o depend on usage.h

git-svn-id: svn://busybox.net/trunk/busybox@11769 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agomore correction for getopt_ulflags() documentation by author of this fuck logic
vodz [Wed, 5 Oct 2005 12:44:52 +0000 (12:44 +0000)]
more correction for getopt_ulflags() documentation by author of this fuck logic

git-svn-id: svn://busybox.net/trunk/busybox@11768 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years ago- add proper separators. sorry for the noise..
aldot [Wed, 5 Oct 2005 12:28:55 +0000 (12:28 +0000)]
- add proper separators. sorry for the noise..

git-svn-id: svn://busybox.net/trunk/busybox@11767 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years ago- add a bit more documentation to vodz' recent additions.
aldot [Wed, 5 Oct 2005 12:23:13 +0000 (12:23 +0000)]
- add a bit more documentation to vodz' recent additions.

git-svn-id: svn://busybox.net/trunk/busybox@11766 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoupdate bb_getopt_ulflags special for 'ps' applet, usaging '-' as first group char...
vodz [Wed, 5 Oct 2005 10:52:47 +0000 (10:52 +0000)]
update bb_getopt_ulflags special for 'ps' applet, usaging '-' as first group 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

15 years ago- Fix spurious rebuilds for (parallel) out-of-tree builds.
aldot [Wed, 5 Oct 2005 10:06:11 +0000 (10:06 +0000)]
- Fix spurious rebuilds for (parallel) out-of-tree builds.
  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

15 years ago- fix building out-of-tree;
aldot [Wed, 5 Oct 2005 07:40:46 +0000 (07:40 +0000)]
- fix building out-of-tree;
  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

15 years agoas Tito points out, e2fsck and fsck need more dependencies
vapier [Wed, 5 Oct 2005 00:52:37 +0000 (00:52 +0000)]
as Tito points out, e2fsck and fsck need more dependencies

git-svn-id: svn://busybox.net/trunk/busybox@11761 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agodont typecast lvalue since gcc hates that
vapier [Wed, 5 Oct 2005 00:50:03 +0000 (00:50 +0000)]
dont typecast lvalue since gcc hates that

git-svn-id: svn://busybox.net/trunk/busybox@11760 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agops selinux logic correction, but do not tested too
vodz [Tue, 4 Oct 2005 17:09:50 +0000 (17:09 +0000)]
ps selinux logic correction, but do not tested too

git-svn-id: svn://busybox.net/trunk/busybox@11756 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agouse updated bb_getopt_ulflags() for ps applet
vodz [Tue, 4 Oct 2005 16:48:26 +0000 (16:48 +0000)]
use updated bb_getopt_ulflags() for ps applet

git-svn-id: svn://busybox.net/trunk/busybox@11755 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years ago- add option 'w' to ps (wide output, optional feature defaults to off).
aldot [Tue, 4 Oct 2005 14:31:18 +0000 (14:31 +0000)]
- add option 'w' to ps (wide output, optional feature defaults to off).
- 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

15 years ago- add prototype for llist_add_to_end to libbb.h
aldot [Tue, 4 Oct 2005 13:39:06 +0000 (13:39 +0000)]
- add prototype for llist_add_to_end to libbb.h

git-svn-id: svn://busybox.net/trunk/busybox@11750 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoAdd find -exec support from Rob Sullivan, and convert CONFIG_ to ENABLE_
landley [Tue, 4 Oct 2005 03:34:39 +0000 (03:34 +0000)]
Add find -exec support from Rob Sullivan, and convert CONFIG_ to ENABLE_
while we're in the area.

git-svn-id: svn://busybox.net/trunk/busybox@11749 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agospeed up * 2
vodz [Mon, 3 Oct 2005 10:08:46 +0000 (10:08 +0000)]
speed up * 2

git-svn-id: svn://busybox.net/trunk/busybox@11733 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agosync inetd with slackware-10.2 inetd (OpenBSD-1.79), have destroy bug 455
vodz [Mon, 3 Oct 2005 08:08:58 +0000 (08:08 +0000)]
sync inetd with slackware-10.2 inetd (OpenBSD-1.79), have destroy bug 455

git-svn-id: svn://busybox.net/trunk/busybox@11732 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoexcellent shrinkage patch by Tito
vapier [Sun, 2 Oct 2005 08:10:31 +0000 (08:10 +0000)]
excellent shrinkage patch by Tito

git-svn-id: svn://busybox.net/trunk/busybox@11730 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoclean out unneeded E2FSCK variables
vapier [Sun, 2 Oct 2005 08:09:50 +0000 (08:09 +0000)]
clean out unneeded E2FSCK variables

git-svn-id: svn://busybox.net/trunk/busybox@11729 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoremove debug warning
vapier [Sun, 2 Oct 2005 07:54:07 +0000 (07:54 +0000)]
remove debug warning

git-svn-id: svn://busybox.net/trunk/busybox@11728 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoreorder arches into alphabetical order
vapier [Sun, 2 Oct 2005 07:50:49 +0000 (07:50 +0000)]
reorder arches into alphabetical order

git-svn-id: svn://busybox.net/trunk/busybox@11727 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agofixup whitespace
vapier [Sun, 2 Oct 2005 07:14:06 +0000 (07:14 +0000)]
fixup whitespace

git-svn-id: svn://busybox.net/trunk/busybox@11726 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoremove all Elf32 hardcodes to make sure the elf handling is 64bit clean
vapier [Sun, 2 Oct 2005 07:02:16 +0000 (07:02 +0000)]
remove all Elf32 hardcodes to make sure the elf handling is 64bit clean

git-svn-id: svn://busybox.net/trunk/busybox@11725 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agosvdavidson writes in Bug 459: add support for x86_64 relocations from modutils 2...
vapier [Sun, 2 Oct 2005 06:44:39 +0000 (06:44 +0000)]
svdavidson writes in Bug 459: add support for x86_64 relocations from modutils 2.4.27

git-svn-id: svn://busybox.net/trunk/busybox@11724 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agotypo
aldot [Fri, 30 Sep 2005 09:46:27 +0000 (09:46 +0000)]
typo

git-svn-id: svn://busybox.net/trunk/busybox@11703 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years ago- remove duplicate entry of resolve.c in BLKID_SRC
aldot [Fri, 30 Sep 2005 08:25:50 +0000 (08:25 +0000)]
- remove duplicate entry of resolve.c in BLKID_SRC
- use the sourcedir to look for includes rather than the builddir

git-svn-id: svn://busybox.net/trunk/busybox@11701 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agochange interface to bb_xasprintf() - more perfect for me.
vodz [Thu, 29 Sep 2005 16:18:57 +0000 (16:18 +0000)]
change interface to bb_xasprintf() - more perfect for me.
ln.c: error_msg(str)->error_msg(%s, str) - remove standart "feature" for hackers
reduce 100 bytes don't care in sum

git-svn-id: svn://busybox.net/trunk/busybox@11694 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoforgotten putenv
vodz [Thu, 29 Sep 2005 15:53:34 +0000 (15:53 +0000)]
forgotten putenv

git-svn-id: svn://busybox.net/trunk/busybox@11693 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agodon't out \r to syslog
vodz [Thu, 29 Sep 2005 12:55:21 +0000 (12:55 +0000)]
don't out \r to syslog

git-svn-id: svn://busybox.net/trunk/busybox@11692 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years ago- rename llist_add_to.c to llist.c
aldot [Thu, 29 Sep 2005 12:55:10 +0000 (12:55 +0000)]
- rename llist_add_to.c to llist.c
- move llist_add_to_end() from ifupdown.c to libbb/llist.c

git-svn-id: svn://busybox.net/trunk/busybox@11691 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agogetty must chdir(/). Use bb_getopt_ulflags. Indent. error() perfect
vodz [Thu, 29 Sep 2005 11:31:26 +0000 (11:31 +0000)]
getty must chdir(/). Use bb_getopt_ulflags. Indent. error() perfect

git-svn-id: svn://busybox.net/trunk/busybox@11690 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agomore busybox's style for fsck.c, size reduce
vodz [Thu, 29 Sep 2005 09:45:22 +0000 (09:45 +0000)]
more busybox's style for fsck.c, size reduce

git-svn-id: svn://busybox.net/trunk/busybox@11689 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agobusybox.c: ENABLE_LOCALE logic correct.
vodz [Thu, 29 Sep 2005 08:19:04 +0000 (08:19 +0000)]
busybox.c: ENABLE_LOCALE logic correct.

git-svn-id: svn://busybox.net/trunk/busybox@11687 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoreorder include <sys/types.h> and <sys/types.h>.
vodz [Thu, 29 Sep 2005 07:55:51 +0000 (07:55 +0000)]
reorder include <sys/types.h> and <sys/types.h>.

git-svn-id: svn://busybox.net/trunk/busybox@11686 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agomore const, inline, forward declaration usage, strip 20k source size ;-)
vodz [Wed, 28 Sep 2005 15:16:22 +0000 (15:16 +0000)]
more const, inline, forward declaration usage, strip 20k source size ;-)

git-svn-id: svn://busybox.net/trunk/busybox@11680 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoallow people to adjtime location
vapier [Wed, 28 Sep 2005 03:21:21 +0000 (03:21 +0000)]
allow people to adjtime location

git-svn-id: svn://busybox.net/trunk/busybox@11677 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agomove e2fsck/* to e2fsck.c, one e2fsck_main and jornal exported, small automatic size...
vodz [Tue, 27 Sep 2005 11:43:29 +0000 (11:43 +0000)]
move e2fsck/* to e2fsck.c, one e2fsck_main and jornal exported, small automatic size reduction

git-svn-id: svn://busybox.net/trunk/busybox@11668 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agofix building w/out et headers and w/out debug
vapier [Tue, 27 Sep 2005 04:21:48 +0000 (04:21 +0000)]
fix building w/out et headers and w/out debug

git-svn-id: svn://busybox.net/trunk/busybox@11662 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoas pointed out in Bug 17, use uint32_t instead of unsigned long since the code expect...
vapier [Tue, 27 Sep 2005 04:16:22 +0000 (04:16 +0000)]
as pointed out in Bug 17, use uint32_t instead of unsigned long since the code expects the size of the info variables to be 32bits and sizeof(long) on 64bit hosts is not 32bits

git-svn-id: svn://busybox.net/trunk/busybox@11661 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agopass EXTRA_CFLAGS to final link since it may contain things that affect linking ...
vapier [Tue, 27 Sep 2005 04:06:39 +0000 (04:06 +0000)]
pass EXTRA_CFLAGS to final link since it may contain things that affect linking (such as -m32)

git-svn-id: svn://busybox.net/trunk/busybox@11660 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoeat misappropriated whitespace
vapier [Tue, 27 Sep 2005 03:18:00 +0000 (03:18 +0000)]
eat misappropriated whitespace

git-svn-id: svn://busybox.net/trunk/busybox@11659 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agouncuddle function scope brackets
vapier [Tue, 27 Sep 2005 02:23:02 +0000 (02:23 +0000)]
uncuddle function scope brackets

git-svn-id: svn://busybox.net/trunk/busybox@11658 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years ago- remove unused variable TOPDIR
aldot [Mon, 26 Sep 2005 16:01:43 +0000 (16:01 +0000)]
- remove unused variable TOPDIR

git-svn-id: svn://busybox.net/trunk/busybox@11653 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoadd "make help"
landley [Mon, 26 Sep 2005 15:49:41 +0000 (15:49 +0000)]
add "make help"

git-svn-id: svn://busybox.net/trunk/busybox@11652 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agorevert wait zombie, it have as linux-specific signal(SIG_CHLD,SIG_IGN) already, do...
vodz [Mon, 26 Sep 2005 13:55:43 +0000 (13:55 +0000)]
revert wait zombie, it have as linux-specific signal(SIG_CHLD,SIG_IGN) already, do not confuse me\!

git-svn-id: svn://busybox.net/trunk/busybox@11651 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agocorrect set prompt if CONFIG_ASH_EXPAND_PRMT enabled, small automatic space->tabs...
vodz [Mon, 26 Sep 2005 13:24:45 +0000 (13:24 +0000)]
correct set prompt if CONFIG_ASH_EXPAND_PRMT enabled, small automatic space->tabs convert by my personal editor

git-svn-id: svn://busybox.net/trunk/busybox@11650 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agospwd bulid now, (typo)
vodz [Mon, 26 Sep 2005 12:58:24 +0000 (12:58 +0000)]
spwd bulid now, (typo)

git-svn-id: svn://busybox.net/trunk/busybox@11649 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoPatch from Amir Shalem to make busybox compile on a uClibc that has no shadow
landley [Sun, 25 Sep 2005 23:36:12 +0000 (23:36 +0000)]
Patch from Amir Shalem to make busybox compile on a uClibc that has no shadow
password support.

git-svn-id: svn://busybox.net/trunk/busybox@11647 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agowhitespace sucks
vapier [Sun, 25 Sep 2005 05:23:58 +0000 (05:23 +0000)]
whitespace sucks

git-svn-id: svn://busybox.net/trunk/busybox@11645 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agofix building with debugging enabled #413
vapier [Sun, 25 Sep 2005 05:18:04 +0000 (05:18 +0000)]
fix building with debugging enabled #413

git-svn-id: svn://busybox.net/trunk/busybox@11644 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agothis should fix parallel building with .depend/bb_config.h
vapier [Sun, 25 Sep 2005 04:53:35 +0000 (04:53 +0000)]
this should fix parallel building with .depend/bb_config.h

git-svn-id: svn://busybox.net/trunk/busybox@11641 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoStop gcc4 from nit-picking about signedness of char *.
landley [Sun, 25 Sep 2005 03:12:26 +0000 (03:12 +0000)]
Stop gcc4 from nit-picking about signedness of char *.

git-svn-id: svn://busybox.net/trunk/busybox@11640 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoCristian Ionescu-Idbohrn writes to fix a warning: networking/ifconfig.c uses an uchar...
vapier [Sat, 24 Sep 2005 23:52:09 +0000 (23:52 +0000)]
Cristian Ionescu-Idbohrn writes to fix a warning: networking/ifconfig.c uses an uchar ptr to work with a char ptr so change the uchar to char

git-svn-id: svn://busybox.net/trunk/busybox@11638 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoCristian Ionescu-Idbohrn says: touchup whitespace/display
vapier [Sat, 24 Sep 2005 23:50:14 +0000 (23:50 +0000)]
Cristian Ionescu-Idbohrn says: touchup whitespace/display

git-svn-id: svn://busybox.net/trunk/busybox@11637 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agotouchup argc/argv handling to shrink a bit and fix a segfault when given wrong number...
vapier [Sat, 24 Sep 2005 23:48:18 +0000 (23:48 +0000)]
touchup argc/argv handling to shrink a bit and fix a segfault when given wrong number of parameters as noted and fixed by Cristian Ionescu-Idbohrn

git-svn-id: svn://busybox.net/trunk/busybox@11636 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agore-order a little for alphabetical
vapier [Sat, 24 Sep 2005 23:15:53 +0000 (23:15 +0000)]
re-order a little for alphabetical

git-svn-id: svn://busybox.net/trunk/busybox@11635 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agore-order a little for alphabetical
vapier [Sat, 24 Sep 2005 23:15:28 +0000 (23:15 +0000)]
re-order a little for alphabetical

git-svn-id: svn://busybox.net/trunk/busybox@11634 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agore-order a little for alphabetical
vapier [Sat, 24 Sep 2005 23:14:11 +0000 (23:14 +0000)]
re-order a little for alphabetical

git-svn-id: svn://busybox.net/trunk/busybox@11633 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agore-order a little for alphabetical
vapier [Sat, 24 Sep 2005 23:13:22 +0000 (23:13 +0000)]
re-order a little for alphabetical

git-svn-id: svn://busybox.net/trunk/busybox@11632 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agore-order a little for alphabetical
vapier [Sat, 24 Sep 2005 23:12:38 +0000 (23:12 +0000)]
re-order a little for alphabetical

git-svn-id: svn://busybox.net/trunk/busybox@11631 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoTito switched option parsing over to switch umount over to bb_getopt_ulflags().
landley [Sat, 24 Sep 2005 22:41:08 +0000 (22:41 +0000)]
Tito switched option parsing over to switch umount over to bb_getopt_ulflags().

git-svn-id: svn://busybox.net/trunk/busybox@11630 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoforce nodebug by default
vapier [Sat, 24 Sep 2005 07:20:59 +0000 (07:20 +0000)]
force nodebug by default

git-svn-id: svn://busybox.net/trunk/busybox@11625 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agouse the shorter license header
vapier [Sat, 24 Sep 2005 07:16:29 +0000 (07:16 +0000)]
use the shorter license header

git-svn-id: svn://busybox.net/trunk/busybox@11624 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoimport the very fat e2fsck/fsck applets
vapier [Sat, 24 Sep 2005 07:11:16 +0000 (07:11 +0000)]
import the very fat e2fsck/fsck applets

git-svn-id: svn://busybox.net/trunk/busybox@11623 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agomake sure we include local header files
vapier [Sat, 24 Sep 2005 07:10:37 +0000 (07:10 +0000)]
make sure we include local header files

git-svn-id: svn://busybox.net/trunk/busybox@11622 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agofix parallel building again
vapier [Sat, 24 Sep 2005 06:15:23 +0000 (06:15 +0000)]
fix parallel building again

git-svn-id: svn://busybox.net/trunk/busybox@11621 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoerr, fix stupid mistake in previous do_findfs() change
vapier [Sat, 24 Sep 2005 06:07:34 +0000 (06:07 +0000)]
err, fix stupid mistake in previous do_findfs() change

git-svn-id: svn://busybox.net/trunk/busybox@11620 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agoadd a attribute_noreturn macro
vapier [Sat, 24 Sep 2005 06:07:15 +0000 (06:07 +0000)]
add a attribute_noreturn macro

git-svn-id: svn://busybox.net/trunk/busybox@11619 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agouse brief license line
vapier [Sat, 24 Sep 2005 06:01:57 +0000 (06:01 +0000)]
use brief license line

git-svn-id: svn://busybox.net/trunk/busybox@11618 69ca8d6d-28ef-0310-b511-8ec308f3f277

15 years agofix broken whitespace and remove pointless mkdir
vapier [Sat, 24 Sep 2005 05:58:39 +0000 (05:58 +0000)]
fix broken whitespace and remove pointless mkdir

git-svn-id: svn://busybox.net/trunk/busybox@11617 69ca8d6d-28ef-0310-b511-8ec308f3f277