Commit Graph

  • c961a44e0b more const, all data to text "Vladimir N. Oleynik" 2005-10-15 14:41:08 +00:00
  • d3d829aaf0 20 bytes data to bss "Vladimir N. Oleynik" 2005-10-15 14:24:01 +00:00
  • 94c3331d47 - an empty middle term in ?: violates ISO C - use shorter boilerplate and use C89 style comments Bernhard Reutner-Fischer 2005-10-15 14:13:09 +00:00
  • b4b6d26287 data --> code "Vladimir N. Oleynik" 2005-10-15 14:10:36 +00:00
  • 1f2dc40ede data --> bss "Vladimir N. Oleynik" 2005-10-15 13:56:17 +00:00
  • b32b1db9d8 complex RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1 "Vladimir N. Oleynik" 2005-10-15 13:49:21 +00:00
  • a2eec6051f RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1 "Vladimir N. Oleynik" 2005-10-15 13:45:32 +00:00
  • 6f347ef9dc common BUFSIZ BSS buffer, small reduce code, data and bss "Vladimir N. Oleynik" 2005-10-15 10:23:55 +00:00
  • 84e7511607 llist must initialize, add loses ifdef, small indent correction "Vladimir N. Oleynik" 2005-10-15 06:32:38 +00:00
  • 3ee6c24ea2 Add --exclude option (to make uClibc-0.9.28 headers install using busybox tar). Rob Landley 2005-10-15 03:06:21 +00:00
  • f704b27b5b - 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 "Vladimir N. Oleynik" 2005-10-14 09:56:52 +00:00
  • 8c7a7e6e63 - 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" Bernhard Reutner-Fischer 2005-10-13 10:40:18 +00:00
  • bb66a6c94e - initialize the correct variables Bernhard Reutner-Fischer 2005-10-13 10:24:44 +00:00
  • 309dc2d642 - typo in makefile variable: s/archvial/archival/ Bernhard Reutner-Fischer 2005-10-13 10:19:35 +00:00
  • 046d6e7a95 show_usage should use bb_default_error_retval. Rob Landley 2005-10-12 21:50:02 +00:00
  • e4164b5666 Did you know the uclibc IRC channel has daily logs on the web going back to 2002? Rob Landley 2005-10-12 19:10:34 +00:00
  • 368f66492e perror correction "Vladimir N. Oleynik" 2005-10-12 16:45:21 +00:00
  • d20cfbd303 create e2fs_set_sbin_path(), noticed by Tito, Thanks "Vladimir N. Oleynik" 2005-10-12 16:22:19 +00:00
  • 6c35c7c976 usage bb_dev_null "Vladimir N. Oleynik" 2005-10-12 15:34:25 +00:00
  • 86a1073e0b bb_dev_null "Vladimir N. Oleynik" 2005-10-12 15:21:32 +00:00
  • 3ade65fc04 remove 1 CR, correct strange bb_opt_complementally, add #if 0 and XXX-comment: pleace examine this\! "Vladimir N. Oleynik" 2005-10-12 14:36:42 +00:00
  • 3ebb895218 make fsck.h as common, e2fsck: includes correct "Vladimir N. Oleynik" 2005-10-12 12:24:01 +00:00
  • ab57f76e13 more busyboxes, remove 1 extern function (mainstream also have for one fsck) "Vladimir N. Oleynik" 2005-10-12 12:11:42 +00:00
  • 1c275de6a2 more busyboxes "Vladimir N. Oleynik" 2005-10-12 11:38:09 +00:00
  • 87210b5f4b trivial generate exit code "Vladimir N. Oleynik" 2005-10-12 08:43:00 +00:00
  • ffe17b51b4 correct strange *3 isatty(0) code "Vladimir N. Oleynik" 2005-10-12 08:38:28 +00:00
  • f1ab127077 Prepend '-' to the first argument if required, more const, indent "Vladimir N. Oleynik" 2005-10-12 08:34:27 +00:00
  • f588869696 new featured bb_opt_complementally, correct argc checking "Vladimir N. Oleynik" 2005-10-12 08:17:29 +00:00
  • 161aae7273 There doesn't seem to be a standard header for makedev(), but this is close. Rob Landley 2005-10-11 20:17:30 +00:00
  • 064f04e7e2 - 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. "Vladimir N. Oleynik" 2005-10-11 14:38:01 +00:00
  • ff567f7943 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. Rob Landley 2005-10-11 07:26:15 +00:00
  • 554a9ff7ea - 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. Bernhard Reutner-Fischer 2005-10-10 13:34:19 +00:00
  • 54cb5c6af3 better check usage with options, correct show problem error message, indent "Vladimir N. Oleynik" 2005-10-10 12:17:33 +00:00
  • 083d3f49c2 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. "Vladimir N. Oleynik" 2005-10-10 11:35:17 +00:00
  • ff9f2f6fba Fluff out INSTALL a bit. Rob Landley 2005-10-09 20:18:32 +00:00
  • 332fc1006c - 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. Bernhard Reutner-Fischer 2005-10-09 19:12:34 +00:00
  • d27d3be6cd The readme in 1.0 is more up to date than the 1.1 version... Rob Landley 2005-10-09 18:20:54 +00:00
  • 61e45dbb2f catch and report errors from file_write() Paul Fox 2005-10-09 14:43:22 +00:00
  • 90372ed51a make Hit_Return() available when CONFIG_FEATURE_VI_COLON is off. it's needed elsewhere as well now. Paul Fox 2005-10-09 14:26:26 +00:00
  • ae907f38f0 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. Rob Landley 2005-10-09 11:16:01 +00:00
  • f1048143ee Rob Sullivan added character and equivalence classes to tr. I changed some comments. Rob Landley 2005-10-08 21:21:08 +00:00
  • 1d62d3b7b9 - make libiproute compile.. Bernhard Reutner-Fischer 2005-10-08 20:47:15 +00:00
  • 4a7252babd Rename CONFIG_NFSMOUNT to CONFIG_FEATURE_MOUNT_NFS so allbaseconfig can find it (and tweak defconfig to catch up). Rob Landley 2005-10-08 18:49:45 +00:00
  • 45ad0e87d6 Rename CONFIG_SORT_BIG to CONFIG_FEATURE_SORT_BIG so allbareconfig can find it. Rob Landley 2005-10-08 17:48:25 +00:00
  • 1ba19d6bf7 Coprolith polishing time: Tito switched devfsd over from CONFIG_ to ENABLE_. Rob Landley 2005-10-08 17:42:35 +00:00
  • be5c10314d - rename bareconfig to allbareconfig and emit "is not set" strings needed for oldconfig. Bernhard Reutner-Fischer 2005-10-08 11:08:28 +00:00
  • 25413bfe00 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. Rob Landley 2005-10-08 02:23:22 +00:00
  • a9d8913bc7 - 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 :) Bernhard Reutner-Fischer 2005-10-07 18:45:03 +00:00
  • b8faa7ea60 - Note that directories for make have to be given as absolute paths. Bernhard Reutner-Fischer 2005-10-07 17:44:14 +00:00
  • dfd1eb0387 trim dep lines "Vladimir N. Oleynik" 2005-10-07 15:53:21 +00:00
  • ab52db8d5e - size reduction of pidof - fix typo in reverse_pidlist Bernhard Reutner-Fischer 2005-10-07 15:44:37 +00:00
  • 6c0642d772 fast replace if src outside "Vladimir N. Oleynik" 2005-10-07 15:36:26 +00:00
  • 0b42a6a8cf - 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). Bernhard Reutner-Fischer 2005-10-07 11:34:50 +00:00
  • 4d63525f76 - fix bug #94: 'make install' does not respect PREFIX nor CROSS when using O= - other minor cosmetic tweaks while at it Bernhard Reutner-Fischer 2005-10-07 10:53:15 +00:00
  • cee605c525 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. Rob Landley 2005-10-06 16:39:17 +00:00
  • 81c3a518d3 - pidof(8): make -s optional and optional -o; closes #168 first cut. Bernhard Reutner-Fischer 2005-10-06 15:37:02 +00:00
  • b31cb87fdc to bb_getopt_ulflags() "Vladimir N. Oleynik" 2005-10-06 15:30:17 +00:00
  • ba248206fe change strange depend to libbb.h, but require busybox.h "Vladimir N. Oleynik" 2005-10-06 15:18:09 +00:00
  • 664c6e7ea0 update documentation "Vladimir N. Oleynik" 2005-10-06 14:53:43 +00:00
  • d5f2a18e19 bb_mkdep can use src outside now "Vladimir N. Oleynik" 2005-10-06 14:47:16 +00:00
  • 82338d8460 - add a few basic tests for pidof(8) Bernhard Reutner-Fischer 2005-10-06 12:50:11 +00:00
  • e34e8782a9 - support make check V=1 to run the checks in verbose mode - pass verbose from runtest to testing.sh Bernhard Reutner-Fischer 2005-10-06 12:48:03 +00:00
  • cf95e0b2d5 - add llist_free_one() and llist_free() to libbb Bernhard Reutner-Fischer 2005-10-06 12:12:51 +00:00
  • 56b217117a - 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. Bernhard Reutner-Fischer 2005-10-06 12:10:48 +00:00
  • 14b1c1da9a - remove explicit dependency of busybox.o and applets.o and usage.h from the Makefile. Instead fix the invocation of bb_mkdep. Bernhard Reutner-Fischer 2005-10-05 14:52:21 +00:00
  • c06e80e1e7 more lost changes BSD signals -> SysV signals. Noticed by Bernhard "Vladimir N. Oleynik" 2005-10-05 14:14:55 +00:00
  • f382c0236e BSD signals -> SysV signals, int->socklet_t. Noticed by Bernhard "Vladimir N. Oleynik" 2005-10-05 14:01:13 +00:00
  • 4a5ce08688 another more correction for getopt_ulflags() documentation (examples) "Vladimir N. Oleynik" 2005-10-05 13:58:40 +00:00
  • b48bfe795e - fix generation of .depend when building out of tree. point bb_mkdep to the source directory and not the build-directory. Bernhard Reutner-Fischer 2005-10-05 13:55:45 +00:00
  • 83e1884d0c - busybox.o and applets.o depend on usage.h Bernhard Reutner-Fischer 2005-10-05 13:53:46 +00:00
  • d1b6078e5d more correction for getopt_ulflags() documentation by author of this fuck logic "Vladimir N. Oleynik" 2005-10-05 12:44:52 +00:00
  • 120513c29f - add proper separators. sorry for the noise.. Bernhard Reutner-Fischer 2005-10-05 12:28:55 +00:00
  • 43fb3fcb2f - add a bit more documentation to vodz' recent additions. Bernhard Reutner-Fischer 2005-10-05 12:23:13 +00:00
  • 35939d9378 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) "Vladimir N. Oleynik" 2005-10-05 10:52:47 +00:00
  • 7abe709867 - 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). Bernhard Reutner-Fischer 2005-10-05 10:06:11 +00:00
  • 5c071bcf2f - 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. Bernhard Reutner-Fischer 2005-10-05 07:40:46 +00:00
  • dc2510327b as Tito points out, e2fsck and fsck need more dependencies Mike Frysinger 2005-10-05 00:52:37 +00:00
  • 23fedb3ad4 dont typecast lvalue since gcc hates that Mike Frysinger 2005-10-05 00:50:03 +00:00
  • 9c44dce304 ps selinux logic correction, but do not tested too "Vladimir N. Oleynik" 2005-10-04 17:09:50 +00:00
  • be0ed3d0b9 use updated bb_getopt_ulflags() for ps applet "Vladimir N. Oleynik" 2005-10-04 16:48:26 +00:00
  • 6d6a40cc4b - add option 'w' to ps (wide output, optional feature defaults to off). - move to ENABLE_ and use shorter boilerplate. Bernhard Reutner-Fischer 2005-10-04 14:31:18 +00:00
  • 5209e18ba7 - add prototype for llist_add_to_end to libbb.h Bernhard Reutner-Fischer 2005-10-04 13:39:06 +00:00
  • 5d3a0e8ed3 Add find -exec support from Rob Sullivan, and convert CONFIG_ to ENABLE_ while we're in the area. Rob Landley 2005-10-04 03:34:39 +00:00
  • d128b71820 speed up * 2 "Vladimir N. Oleynik" 2005-10-03 10:08:46 +00:00
  • 1a2f4d9af7 sync inetd with slackware-10.2 inetd (OpenBSD-1.79), have destroy bug 455 "Vladimir N. Oleynik" 2005-10-03 08:08:58 +00:00
  • 7f782da048 excellent shrinkage patch by Tito Mike Frysinger 2005-10-02 08:10:31 +00:00
  • 9134dff078 clean out unneeded E2FSCK variables Mike Frysinger 2005-10-02 08:09:50 +00:00
  • c31fcbbaf3 remove debug warning Mike Frysinger 2005-10-02 07:54:07 +00:00
  • cb1ce7b974 reorder arches into alphabetical order Mike Frysinger 2005-10-02 07:50:49 +00:00
  • fa17c4b949 fixup whitespace Mike Frysinger 2005-10-02 07:14:06 +00:00
  • 86a4bfb30a remove all Elf32 hardcodes to make sure the elf handling is 64bit clean Mike Frysinger 2005-10-02 07:02:16 +00:00
  • 91fbdac6ab svdavidson writes in Bug 459: add support for x86_64 relocations from modutils 2.4.27 Mike Frysinger 2005-10-02 06:44:39 +00:00
  • e6d5539ebb typo Bernhard Reutner-Fischer 2005-09-30 09:46:27 +00:00
  • f24e0f5e6f - remove duplicate entry of resolve.c in BLKID_SRC - use the sourcedir to look for includes rather than the builddir Bernhard Reutner-Fischer 2005-09-30 08:25:50 +00:00
  • 39a841cecf 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 "Vladimir N. Oleynik" 2005-09-29 16:18:57 +00:00
  • 6a60c821a8 forgotten putenv "Vladimir N. Oleynik" 2005-09-29 15:53:34 +00:00
  • 8e1bd4a05b don't out \r to syslog "Vladimir N. Oleynik" 2005-09-29 12:55:21 +00:00
  • bee9eb1a9d - rename llist_add_to.c to llist.c - move llist_add_to_end() from ifupdown.c to libbb/llist.c Bernhard Reutner-Fischer 2005-09-29 12:55:10 +00:00
  • 3e245c9e21 getty must chdir(/). Use bb_getopt_ulflags. Indent. error() perfect "Vladimir N. Oleynik" 2005-09-29 11:31:26 +00:00
  • 6160d45e05 more busybox's style for fsck.c, size reduce "Vladimir N. Oleynik" 2005-09-29 09:45:22 +00:00