oweals/busybox.git
18 years agoSomebody suggested this, but I've forgotten who.
Rob Landley [Thu, 27 Oct 2005 22:50:04 +0000 (22:50 -0000)]
Somebody suggested this, but I've forgotten who.

18 years agoAdd --no-same-owner and --no-same-permissions options to tar.
Rob Landley [Thu, 27 Oct 2005 22:49:08 +0000 (22:49 -0000)]
Add --no-same-owner and --no-same-permissions options to tar.

18 years ago- Matthias Wenzel writes:
Bernhard Reutner-Fischer [Thu, 27 Oct 2005 14:43:27 +0000 (14:43 -0000)]
- Matthias Wenzel writes:
without the fix below md5sum will always report a correct md5 on _any_
wrongly formattet input files.
- use short boilerplate and remove superfluous keyword extern.

18 years ago- correct boilerplate
Bernhard Reutner-Fischer [Thu, 27 Oct 2005 06:59:05 +0000 (06:59 -0000)]
- correct boilerplate
- use bb_xgetlarg for the patch_level to catch invalid arguments.

18 years agoReference for new patch feature we'll need to be compatible with...
Rob Landley [Thu, 27 Oct 2005 00:57:50 +0000 (00:57 -0000)]
Reference for new patch feature we'll need to be compatible with...

18 years ago * uniq.c: remove unneeded include and use short boilerplate.
Bernhard Reutner-Fischer [Wed, 26 Oct 2005 10:47:26 +0000 (10:47 -0000)]
* uniq.c: remove unneeded include and use short boilerplate.
* coreutils.h: remove prototype of non-existing xgetoptfile_sort_uniq
and add boilerplate.
* networking/{ipaddr,ip,iplink,iproute,iptunnel}.c: touch includes
and use short boilerplate.
* libiproute/iproute.c: rename round to avoid clashes with older
SuSE gcc and use short boilerplate.

18 years agoUpdate the TODO list to reflect stuff we've already done.
Rob Landley [Tue, 25 Oct 2005 20:22:50 +0000 (20:22 -0000)]
Update the TODO list to reflect stuff we've already done.

18 years agoShaun Jackman noted that limits.h defines path_max and isn't included from
Rob Landley [Tue, 25 Oct 2005 02:22:13 +0000 (02:22 -0000)]
Shaun Jackman noted that limits.h defines path_max and isn't included from
find_root_device.c.  (We #include it in busybox.h but not libbb.h, it seems.
Someday, someone's going to have to clarify for me the difference between
those two...)

18 years agoTwo changes. One from Shaun Jackman makes libbb/interface.c compile only if
Rob Landley [Tue, 25 Oct 2005 02:19:55 +0000 (02:19 -0000)]
Two changes.  One from Shaun Jackman makes libbb/interface.c compile only if
it's going to be used.  (I'm guessing it doesn't work with newlib.)

The other one is from me: allyesconfig shouldn't enable devfs because that
changes all sorts of unrelated stuff (like /dev/loop0->dev/loop/0), which
can come as a bit of a surprise.  (It's still there, but you have to go into
menuconfig and select it manually.)

18 years ago- fix bug to avoid aliasing busybox' main to zcip_main in IMA mode.
Bernhard Reutner-Fischer [Fri, 21 Oct 2005 10:43:11 +0000 (10:43 -0000)]
- fix bug to avoid aliasing busybox' main to zcip_main in IMA mode.

18 years agoanother more const
"Vladimir N. Oleynik" [Thu, 20 Oct 2005 11:17:48 +0000 (11:17 -0000)]
another more const

18 years agomore const
"Vladimir N. Oleynik" [Thu, 20 Oct 2005 09:48:28 +0000 (09:48 -0000)]
more const

18 years agomore const, attribute_noreturn saved 200 bytes
"Vladimir N. Oleynik" [Wed, 19 Oct 2005 09:21:51 +0000 (09:21 -0000)]
more const, attribute_noreturn saved 200 bytes

18 years ago- consume space between functionname and opening brackets
Bernhard Reutner-Fischer [Mon, 17 Oct 2005 14:21:06 +0000 (14:21 -0000)]
- consume space between functionname and opening brackets
  Fixes Rob's issue using busybox awk for building gcc-4_0 optionlist (http://busybox.net/lists/busybox/2005-October/016659.html)

18 years agomore const, use bb_getopt_ulflags, insert XXX for show place of problems
"Vladimir N. Oleynik" [Mon, 17 Oct 2005 10:47:19 +0000 (10:47 -0000)]
more const, use bb_getopt_ulflags, insert XXX for show place of problems

18 years agodata --> text
"Vladimir N. Oleynik" [Mon, 17 Oct 2005 09:48:57 +0000 (09:48 -0000)]
data --> text

18 years agoThe fact "tar tvjf thing.tbz" didn't work was due to the "-1" in -r11859,
Rob Landley [Sun, 16 Oct 2005 08:42:18 +0000 (08:42 -0000)]
The fact "tar tvjf thing.tbz" didn't work was due to the "-1" in -r11859,
which was apparently never tested.  That meant that there always had
to be at least one unparsed argument left over, which is not the case for
tar.

18 years agoWhitespace and curly bracket cleanup (our tabstop is 4 in busybox),
Rob Landley [Sun, 16 Oct 2005 03:54:49 +0000 (03:54 -0000)]
Whitespace and curly bracket cleanup (our tabstop is 4 in busybox),
and switch more stuff from CONFIG to ENABLE.

18 years ago- don't update copyright years. He might release it, but apparently will have
Bernhard Reutner-Fischer [Sat, 15 Oct 2005 20:56:31 +0000 (20:56 -0000)]
- don't update copyright years. He might release it, but apparently will have
  to update the year himself.

18 years agomore const, all data to text
"Vladimir N. Oleynik" [Sat, 15 Oct 2005 14:41:08 +0000 (14:41 -0000)]
more const, all data to text

18 years ago20 bytes data to bss
"Vladimir N. Oleynik" [Sat, 15 Oct 2005 14:24:01 +0000 (14:24 -0000)]
20 bytes data to bss

18 years ago- an empty middle term in ?: violates ISO C
Bernhard Reutner-Fischer [Sat, 15 Oct 2005 14:13:09 +0000 (14:13 -0000)]
- an empty middle term in ?: violates ISO C
- use shorter boilerplate and use C89 style comments

18 years agodata --> code
"Vladimir N. Oleynik" [Sat, 15 Oct 2005 14:10:36 +0000 (14:10 -0000)]
data --> code

18 years agodata --> bss
"Vladimir N. Oleynik" [Sat, 15 Oct 2005 13:56:17 +0000 (13:56 -0000)]
data --> bss

18 years agocomplex RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1
"Vladimir N. Oleynik" [Sat, 15 Oct 2005 13:49:21 +0000 (13:49 -0000)]
complex RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1

18 years agoRESERVE_CONFIG_BUFFER --> bb_common_bufsiz1
"Vladimir N. Oleynik" [Sat, 15 Oct 2005 13:45:32 +0000 (13:45 -0000)]
RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1

18 years agocommon BUFSIZ BSS buffer, small reduce code, data and bss
"Vladimir N. Oleynik" [Sat, 15 Oct 2005 10:23:55 +0000 (10:23 -0000)]
common BUFSIZ BSS buffer, small reduce code, data and bss

18 years agollist must initialize, add loses ifdef, small indent correction
"Vladimir N. Oleynik" [Sat, 15 Oct 2005 06:32:38 +0000 (06:32 -0000)]
llist must initialize, add loses ifdef, small indent correction

18 years agoAdd --exclude option (to make uClibc-0.9.28 headers install using busybox tar).
Rob Landley [Sat, 15 Oct 2005 03:06:21 +0000 (03:06 -0000)]
Add --exclude option (to make uClibc-0.9.28 headers install using busybox tar).

I have no idea how to apply bb_getopt_complementally to a --longopt that
has no short option.  The documentation from vodz has a bad case of
babelfish poisoning, and I can't understand it.  It sort of seems to
suggest there is a way, but what it is I have no idea.  So I used \n as
the short option, which is fairly unlikely to be used for something else. :)

18 years ago- new bb_opt_complementally syntax, use [-:?] only - 'free' chars
"Vladimir N. Oleynik" [Fri, 14 Oct 2005 09:56:52 +0000 (09:56 -0000)]
- new bb_opt_complementally syntax, use [-:?] only - 'free' chars
- new bb_getopt_ulflags features: check max and min args, convert first argv to options special for ar and tar applets
- use bb_default_error_retval for env applet

18 years ago- split VERSION into parts
Bernhard Reutner-Fischer [Thu, 13 Oct 2005 10:40:18 +0000 (10:40 -0000)]
- split VERSION into parts
- add some filesystem operation wrapper variables for use in the makefiles and
  pull them in early in the toplevel makefile
- use the cross-toolchain for "make sizes"

18 years ago- initialize the correct variables
Bernhard Reutner-Fischer [Thu, 13 Oct 2005 10:24:44 +0000 (10:24 -0000)]
- initialize the correct variables

18 years ago- typo in makefile variable: s/archvial/archival/
Bernhard Reutner-Fischer [Thu, 13 Oct 2005 10:19:35 +0000 (10:19 -0000)]
- typo in makefile variable: s/archvial/archival/

18 years agoshow_usage should use bb_default_error_retval.
Rob Landley [Wed, 12 Oct 2005 21:50:02 +0000 (21:50 -0000)]
show_usage should use bb_default_error_retval.

18 years agoDid you know the uclibc IRC channel has daily logs on the web going back to
Rob Landley [Wed, 12 Oct 2005 19:10:34 +0000 (19:10 -0000)]
Did you know the uclibc IRC channel has daily logs on the web going back to
2002?

18 years agoperror correction
"Vladimir N. Oleynik" [Wed, 12 Oct 2005 16:45:21 +0000 (16:45 -0000)]
perror correction

18 years agocreate e2fs_set_sbin_path(), noticed by Tito, Thanks
"Vladimir N. Oleynik" [Wed, 12 Oct 2005 16:22:19 +0000 (16:22 -0000)]
create e2fs_set_sbin_path(), noticed by Tito, Thanks

18 years agousage bb_dev_null
"Vladimir N. Oleynik" [Wed, 12 Oct 2005 15:34:25 +0000 (15:34 -0000)]
usage bb_dev_null

18 years agobb_dev_null
"Vladimir N. Oleynik" [Wed, 12 Oct 2005 15:21:32 +0000 (15:21 -0000)]
bb_dev_null

18 years agoremove 1 CR, correct strange bb_opt_complementally, add #if 0 and XXX-comment: pleace...
"Vladimir N. Oleynik" [Wed, 12 Oct 2005 14:36:42 +0000 (14:36 -0000)]
remove 1 CR, correct strange bb_opt_complementally, add #if 0 and XXX-comment: pleace examine this\!

18 years agomake fsck.h as common, e2fsck: includes correct
"Vladimir N. Oleynik" [Wed, 12 Oct 2005 12:24:01 +0000 (12:24 -0000)]
make fsck.h as common, e2fsck: includes correct

18 years agomore busyboxes, remove 1 extern function (mainstream also have for one fsck)
"Vladimir N. Oleynik" [Wed, 12 Oct 2005 12:11:42 +0000 (12:11 -0000)]
more busyboxes, remove 1 extern function (mainstream also have for one fsck)

18 years agomore busyboxes
"Vladimir N. Oleynik" [Wed, 12 Oct 2005 11:38:09 +0000 (11:38 -0000)]
more busyboxes

18 years agotrivial generate exit code
"Vladimir N. Oleynik" [Wed, 12 Oct 2005 08:43:00 +0000 (08:43 -0000)]
trivial generate exit code

18 years agocorrect strange *3 isatty(0) code
"Vladimir N. Oleynik" [Wed, 12 Oct 2005 08:38:28 +0000 (08:38 -0000)]
correct strange *3 isatty(0) code

18 years agoPrepend '-' to the first argument if required, more const, indent
"Vladimir N. Oleynik" [Wed, 12 Oct 2005 08:34:27 +0000 (08:34 -0000)]
Prepend '-' to the first argument if required, more const, indent

18 years agonew featured bb_opt_complementally, correct argc checking
"Vladimir N. Oleynik" [Wed, 12 Oct 2005 08:17:29 +0000 (08:17 -0000)]
new featured bb_opt_complementally, correct argc checking

18 years agoThere doesn't seem to be a standard header for makedev(), but this is close.
Rob Landley [Tue, 11 Oct 2005 20:17:30 +0000 (20:17 -0000)]
There doesn't seem to be a standard header for makedev(), but this is close.

18 years ago- use complementally '!' to '?' - 'ask' is best 'free' char for this.
"Vladimir N. Oleynik" [Tue, 11 Oct 2005 14:38:01 +0000 (14:38 -0000)]
- use complementally '!' to '?' - 'ask' is best 'free' char for this.
- more long opt compatibility, can set flag for long opt struct now
- more logic: check opt-depend requires and global requires, special for 'id' and 'start-stop-daemon' applets.

18 years agoThe check for EROFS was wrong. For example, if you try to mount a filesystem
Rob Landley [Tue, 11 Oct 2005 07:26:15 +0000 (07:26 -0000)]
The check for EROFS was wrong.  For example, if you try to mount a filesystem
appended to an executable that's being run (yes, I'm doing this) you get
EPERM, but mounting readonly fixes it.  Doing the fallback all the time
shouldn't hurt, and is one less test.

18 years ago- do not use bb_xgetularg10_bnd as a lower value of -1 doesn't work due to lowe
Bernhard Reutner-Fischer [Mon, 10 Oct 2005 13:34:19 +0000 (13:34 -0000)]
- do not use bb_xgetularg10_bnd as a lower value of -1 doesn't work due to lowe
  being unsigned.
- minor correction: use stdin only when no file was given via -i.
- use shorter boilerplate.

18 years agobetter check usage with options, correct show problem error message, indent
"Vladimir N. Oleynik" [Mon, 10 Oct 2005 12:17:33 +0000 (12:17 -0000)]
better check usage with options, correct show problem error message, indent

18 years agobb_mkdep: Rewroted. removed problem "include name must uniq", speed up * 3.
"Vladimir N. Oleynik" [Mon, 10 Oct 2005 11:35:17 +0000 (11:35 -0000)]
bb_mkdep: Rewroted. removed problem "include name must uniq", speed up * 3.
e2fsprogs: remove confuse bb_mkdep. Use internal e2fsprogs includes only.
other: remove confuse bb_mkdep.

18 years agoFluff out INSTALL a bit.
Rob Landley [Sun, 9 Oct 2005 20:18:32 +0000 (20:18 -0000)]
Fluff out INSTALL a bit.

18 years ago- remove passing PREFIX and CROSS to make which was added for bug #94.
Bernhard Reutner-Fischer [Sun, 9 Oct 2005 19:12:34 +0000 (19:12 -0000)]
- remove passing PREFIX and CROSS to make which was added for bug #94.
  My recent Makefile touch-up assures that make O=/tmp/o PREFIX=/tmp/i install
  works as expected without this ugly workaround.

18 years agoThe readme in 1.0 is more up to date than the 1.1 version...
Rob Landley [Sun, 9 Oct 2005 18:20:54 +0000 (18:20 -0000)]
The readme in 1.0 is more up to date than the 1.1 version...

18 years agocatch and report errors from file_write()
Paul Fox [Sun, 9 Oct 2005 14:43:22 +0000 (14:43 -0000)]
catch and report errors from file_write()

18 years agomake Hit_Return() available when CONFIG_FEATURE_VI_COLON is off. it's
Paul Fox [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.

18 years agoWhen lstat returns an error (such as file not found), the value of
Rob 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.

18 years agoRob Sullivan added character and equivalence classes to tr. I changed some
Rob 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.

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

18 years agoRename CONFIG_NFSMOUNT to CONFIG_FEATURE_MOUNT_NFS so allbaseconfig can
Rob 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).

18 years agoRename CONFIG_SORT_BIG to CONFIG_FEATURE_SORT_BIG so allbareconfig can find it.
Rob 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.

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

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

18 years agoShaun Jackman pointed out that fgets_unlocked() and friends are gnu extensions
Rob 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.

18 years ago- add config target bareconfig. Enables all applets but without any features.
Bernhard Reutner-Fischer [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 :)

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

18 years agotrim dep lines
"Vladimir N. Oleynik" [Fri, 7 Oct 2005 15:53:21 +0000 (15:53 -0000)]
trim dep lines

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

18 years agofast replace if src outside
"Vladimir N. Oleynik" [Fri, 7 Oct 2005 15:36:26 +0000 (15:36 -0000)]
fast replace if src outside

18 years ago- remove superfluous C statements ";;" in decompress_unzip.c, dpkg_deb.c ifconfig.c
Bernhard Reutner-Fischer [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).

18 years ago- fix bug #94: 'make install' does not respect PREFIX nor CROSS when using O=
Bernhard Reutner-Fischer [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

18 years agoThe supposedly trivial CONFIG->ENABLE conversion wasn't so trivial. The
Rob 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.

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

18 years agoto bb_getopt_ulflags()
"Vladimir N. Oleynik" [Thu, 6 Oct 2005 15:30:17 +0000 (15:30 -0000)]
to bb_getopt_ulflags()

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

18 years agoupdate documentation
"Vladimir N. Oleynik" [Thu, 6 Oct 2005 14:53:43 +0000 (14:53 -0000)]
update documentation

18 years agobb_mkdep can use src outside now
"Vladimir N. Oleynik" [Thu, 6 Oct 2005 14:47:16 +0000 (14:47 -0000)]
bb_mkdep can use src outside now

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

18 years ago- support make check V=1 to run the checks in verbose mode
Bernhard Reutner-Fischer [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

18 years ago- add llist_free_one() and llist_free() to libbb
Bernhard Reutner-Fischer [Thu, 6 Oct 2005 12:12:51 +0000 (12:12 -0000)]
- add llist_free_one() and llist_free() to libbb

18 years ago- add llist_free_one() and llist_free() to libbb; Add a bit of documentation.
Bernhard Reutner-Fischer [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.

18 years ago- remove explicit dependency of busybox.o and applets.o and usage.h from the
Bernhard Reutner-Fischer [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.

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

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

18 years agoanother more correction for getopt_ulflags() documentation (examples)
"Vladimir N. Oleynik" [Wed, 5 Oct 2005 13:58:40 +0000 (13:58 -0000)]
another more correction for getopt_ulflags() documentation (examples)

18 years ago- fix generation of .depend when building out of tree.
Bernhard Reutner-Fischer [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.

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

18 years agomore correction for getopt_ulflags() documentation by author of this fuck logic
"Vladimir N. Oleynik" [Wed, 5 Oct 2005 12:44:52 +0000 (12:44 -0000)]
more correction for getopt_ulflags() documentation by author of this fuck logic

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

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

18 years agoupdate bb_getopt_ulflags special for 'ps' applet, usaging '-' as first group char...
"Vladimir N. Oleynik" [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)

18 years ago- Fix spurious rebuilds for (parallel) out-of-tree builds.
Bernhard Reutner-Fischer [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).

18 years ago- fix building out-of-tree;
Bernhard Reutner-Fischer [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.

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

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

18 years agops selinux logic correction, but do not tested too
"Vladimir N. Oleynik" [Tue, 4 Oct 2005 17:09:50 +0000 (17:09 -0000)]
ps selinux logic correction, but do not tested too

18 years agouse updated bb_getopt_ulflags() for ps applet
"Vladimir N. Oleynik" [Tue, 4 Oct 2005 16:48:26 +0000 (16:48 -0000)]
use updated bb_getopt_ulflags() for ps applet

18 years ago- add option 'w' to ps (wide output, optional feature defaults to off).
Bernhard Reutner-Fischer [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