Commit Graph

  • da3cec9c85 mount: fix breakage from recent changes (spurious -ro mounts) Denis Vlasenko 2006-09-24 01:01:01 +00:00
  • 29d94b907f Another attempt at untangling the logic so the compiler can follow it and not generate pointless warnings. Rob Landley 2006-09-23 19:56:21 +00:00
  • a94554d010 wget: fix bug where wget creates null file if there is no remote one. add O_LARGEFILE support (not run tested :). Denis Vlasenko 2006-09-23 17:49:09 +00:00
  • 01a74f9649 applets.c: fix indentation Denis Vlasenko 2006-09-23 16:34:39 +00:00
  • c290563319 remove unneeded #includes, fix indentation Denis Vlasenko 2006-09-23 16:01:09 +00:00
  • c1876d7364 inetd: deindent main loop, other readability enhancements Denis Vlasenko 2006-09-23 15:58:01 +00:00
  • 4c196a80fc hexdump: fixlet for my breakage Denis Vlasenko 2006-09-23 15:53:01 +00:00
  • ec17d437ab inetd: reformat with tabs for indentation Denis Vlasenko 2006-09-23 15:18:38 +00:00
  • 2dbeaa95ca hexdump: deindent, almost fits into 80 columns now Denis Vlasenko 2006-09-23 13:31:46 +00:00
  • a36a676923 correct_password: undo whitespace damage. vlock + correct_password: fix incorrect line breaks in messages. Denis Vlasenko 2006-09-23 13:11:49 +00:00
  • 7f1f5b001f ifupdown: getopt_ulflags'ification. Denis Vlasenko 2006-09-23 12:49:01 +00:00
  • a65a17700a arping: fix bug (getopt_ulflags and optarg don't mix), remove unreachable error path. Denis Vlasenko 2006-09-23 12:46:30 +00:00
  • fe76cd5a5c insmod: getopt_ulflags'isation Denis Vlasenko 2006-09-23 12:32:58 +00:00
  • d78b433414 passwd: getopt_ulflags'isation Denis Vlasenko 2006-09-23 12:30:03 +00:00
  • 6429aabbf1 bb_askpass: shorten static password buffer. 256 is way too large. simplify code a bit. Denis Vlasenko 2006-09-23 12:22:11 +00:00
  • b97f07f5a1 Follow-up to 16172: this also doesn't produce a warning for me on gcc 4.1, without having to feed the compiler nonsense. Rob Landley 2006-09-22 19:11:59 +00:00
  • 0372197385 "I'll think about it" != "apply it now". It means I need to think about it. Rob Landley 2006-09-22 18:47:45 +00:00
  • 754a88f7aa netstat: getopt_ulflags'isation Denis Vlasenko 2006-09-22 16:02:40 +00:00
  • 01e88f0339 gzip: getopt_ulflags'isation Denis Vlasenko 2006-09-22 15:13:38 +00:00
  • 27ee7ba95e losetup: getopt_ulflags'ification + small fix for perror_nomsg Denis Vlasenko 2006-09-22 14:53:41 +00:00
  • 099efbf99e awk: getopt_ulflags'isation Denis Vlasenko 2006-09-22 09:02:30 +00:00
  • 750fc6d7bb sed: getopt_ulflags'isation Denis Vlasenko 2006-09-22 08:56:03 +00:00
  • 8514fc5681 hostname: getopt_ulflags'isation Denis Vlasenko 2006-09-22 08:53:14 +00:00
  • 0e87d347e8 telnetd: getopt_ulflags'isation Denis Vlasenko 2006-09-22 08:50:29 +00:00
  • 109d21fe74 adjtimex: getopt_ulflags'isation Denis Vlasenko 2006-09-22 08:47:54 +00:00
  • cb1ba86507 logger: getopt_ulflags'isation Denis Vlasenko 2006-09-22 08:44:58 +00:00
  • f47ff100cc getopt: fix whitespace damage Denis Vlasenko 2006-09-22 08:42:06 +00:00
  • cad36681d2 readprofile: getopt_ulflags'isation Denis Vlasenko 2006-09-22 08:39:49 +00:00
  • 7869c018b5 ipcs: fix my recent breakage Denis Vlasenko 2006-09-22 08:30:52 +00:00
  • ae843e9cc8 - add new applet resize. text data bss dec hex filename 185 0 0 185 b9 console-tools/resize.o 255 0 0 255 ff console-tools/resize.o.print Bernhard Reutner-Fischer 2006-09-22 08:18:41 +00:00
  • e9a7a6212b Change license statements (and clean up headers) on some of the files that Erik or I are primary copyright holders on. Rob Landley 2006-09-22 02:52:41 +00:00
  • 05592ac00c - update and expand TODO a little bit Bernhard Reutner-Fischer 2006-09-21 22:58:38 +00:00
  • 3503ff72c6 - pull r15578 from busybox_scratch branch: - fix bug where it would behave wrong if ./nohup.out was not writable. - debloat and make it readable while at it. $ size coreutils/nohup.o* text data bss dec hex filename 362 0 0 362 16a coreutils/nohup.o.trunk 344 0 0 344 158 coreutils/nohup.o $ make bloatcheck function old new delta nohup_main 324 310 -14 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-14) Total: -14 bytes Bernhard Reutner-Fischer 2006-09-21 22:10:24 +00:00
  • 42f67026a1 - silence gcc warning about a funcptr possibly being used uninitialized. This is a perfect example on where we should NOT care if the functor is not initialized since the result will not be what the user may expect. Safe bet would be to init to NULL, but let's try normal uu for good measure. - fix commentary typo while at it. Bernhard Reutner-Fischer 2006-09-21 20:40:56 +00:00
  • ce32f65a1b mount: nfs mount should enable bb_error-to-syslog support Denis Vlasenko 2006-09-21 12:30:16 +00:00
  • a528643330 - gcc-2.95 doesn't support -static-libgcc - remove Winline Bernhard Reutner-Fischer 2006-09-21 11:54:51 +00:00
  • 116080a13a mount: make Rob happy by reinstating #defines Denis Vlasenko 2006-09-21 11:13:08 +00:00
  • fbdf121b7d Teach get_terminal_width_height to fall back to $LINES and $COLUMNS when used via things like a serial console. Rob Landley 2006-09-20 22:06:01 +00:00
  • 4ef6f647a3 The version checked into the tree is a snapshot of an unifinished applet, and you just made lots of ">>>>>>> mine" lines show up in my working copy of this. Rob Landley 2006-09-20 21:57:36 +00:00
  • eb84a42fdd The Software Freedom Law Center wants us to add a copyright notice to the generated binaries, to make copyright enforcement easier. Our liason with them (Bradley Kuhn) suggested the following text: Rob Landley 2006-09-20 21:41:13 +00:00
  • 94b383d419 License clarification. Rob Landley 2006-09-20 20:01:29 +00:00
  • d1f939eaf3 - fix documentation for the command-line options of ipcs. Closes #1036 Bernhard Reutner-Fischer 2006-09-20 15:56:53 +00:00
  • a6585774f9 - fix embarrassing typo of mine. Closes bug #1038 Bernhard Reutner-Fischer 2006-09-20 15:29:13 +00:00
  • 3ccc100670 ipcs: fix output (misaligned columns) Denis Vlasenko 2006-09-19 17:43:56 +00:00
  • c7b9bad519 ipcs: getopt_ulflag'ification, -170 bytes Denis Vlasenko 2006-09-19 17:40:31 +00:00
  • 79deb66c35 stty: fix few bugs found in testing Denis Vlasenko 2006-09-19 15:12:12 +00:00
  • 2969c772c2 getty: oops... removing duplicate #include <syslog.h> Denis Vlasenko 2006-09-19 14:47:54 +00:00
  • debaf2fe02 stty: reorder code, reducing need in forward declarations. added few missed bits of error checking for parameters. Denis Vlasenko 2006-09-19 14:31:44 +00:00
  • 20b253d2d8 stty: convert "enum mode_type" into unnamed enum (reduces code obfuscation); deindent set_mode; add _or_die suffixes to few functions Denis Vlasenko 2006-09-19 14:24:23 +00:00
  • 8971cdaeca stty: reduce #ifdef forest Denis Vlasenko 2006-09-19 14:20:22 +00:00
  • e40c04b826 stty: simplify linewrapping code a bit Denis Vlasenko 2006-09-19 14:19:42 +00:00
  • 9efb070dcb stty: style fixes Denis Vlasenko 2006-09-19 14:17:10 +00:00
  • 7eab79acc5 stty: fix a longstanding FIXME (was able to die half-way setting term params) Denis Vlasenko 2006-09-19 14:16:28 +00:00
  • 85f9e32f7f mount: fstabname needs to be const char* Denis Vlasenko 2006-09-19 14:14:12 +00:00
  • 23514fe251 mount: fix warning (printf field width of * wants int, not size_t) Denis Vlasenko 2006-09-19 14:07:52 +00:00
  • f70265290c getty: #include <syslog.h> Denis Vlasenko 2006-09-19 13:50:55 +00:00
  • 0b5fd45ef7 change char *string = "foo" -> char string[] = "foo" function old new delta xsetenv 45 44 -1 iproute_list_or_flush 1834 1833 -1 ipaddr_modify 1915 1914 -1 ipaddr_list_or_flush 1861 1860 -1 invarg 39 38 -1 do_set 1259 1258 -1 bb_verror_msg 268 267 -1 create_icmp_socket 142 140 -2 create_icmp6_socket 142 140 -2 bb_full_fd_action 324 322 -2 bb_path_mtab_file 10 - -10 .rodata 214796 214720 -76 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/11 up/down: 0/-99) Total: -99 bytes Denis Vlasenko 2006-09-19 09:55:09 +00:00
  • 9213a9e0f2 whitespace cleanup Denis Vlasenko 2006-09-17 16:28:10 +00:00
  • a6127aacef mount: style fixlet Denis Vlasenko 2006-09-17 15:51:52 +00:00
  • 6231e870ec style fixes Denis Vlasenko 2006-09-17 15:45:48 +00:00
  • 029c469934 mount: revert mount --bind to using "bind" as fstype. Denis Vlasenko 2006-09-17 15:39:22 +00:00
  • a52145a927 mount: mount_it_now() - char *dir is not really needed. Denis Vlasenko 2006-09-17 15:09:48 +00:00
  • c889d2b786 mount: fix "duplicate mount options in mtab" bug Denis Vlasenko 2006-09-17 15:08:12 +00:00
  • c0975199be mount: nfs_strerror's static buffer was bigger than needed. Denis Vlasenko 2006-09-17 15:06:34 +00:00
  • 9c99b62b9e mount: getopt_ulflag'ification Denis Vlasenko 2006-09-17 15:05:31 +00:00
  • 13b4924ce0 mount: style fixes Denis Vlasenko 2006-09-17 15:04:35 +00:00
  • 3bc59aa2a4 mount: fix bugs: free(mp->mnt_fsname) of non-malloced ptr; check for "more than 2 arguments" was actually checking for -2. Denis Vlasenko 2006-09-17 15:04:01 +00:00
  • fc56dd2e21 mount: use bb_simplify_path as appropriate Denis Vlasenko 2006-09-17 15:01:53 +00:00
  • 8d474b5009 mount: style fixes Denis Vlasenko 2006-09-17 15:00:58 +00:00
  • 66fabdb631 login: apply fixes + getopt_ulflag'ification by Bernhard Denis Vlasenko 2006-09-17 14:45:09 +00:00
  • 4d0f54af94 - Steven Scholz pointed out that ssd's make-pid doesn't take an argument. Bernhard Reutner-Fischer 2006-09-15 19:25:18 +00:00
  • 30a64cdc95 mount: reorder things, fix NFS-less mount. Denis Vlasenko 2006-09-15 15:12:00 +00:00
  • 215c61d3c2 Unbreak allbareconfig. Rob Landley 2006-09-15 04:10:05 +00:00
  • f5fc1384e9 So, in the cornucopia of superfulous warning directives I didn't add to the tree, we have the warning about failed inlines (which with our inline limit set to zero means any usage of the "inline" keyword at all). Note that setting the inline limit to zero, and using -Werror, both predated adding the warning about inlines to the tree. So whatever checkin added that did nothing but break the tree. But oh well. Rob Landley 2006-09-15 04:08:25 +00:00
  • 69115c656d Unbreak allbareconfig. Rob Landley 2006-09-15 04:01:03 +00:00
  • da9d1d079e Strangely, using // in the comments I added was not a persistent accident. Rob Landley 2006-09-14 19:52:07 +00:00
  • 7ccf5cc064 login: eliminate forward decls and #ifdefs Denis Vlasenko 2006-09-14 17:03:18 +00:00
  • af9854b81a umount: do not try to close FILE* which is NULL. Denis Vlasenko 2006-09-14 16:40:46 +00:00
  • be507170eb mount: -o remount should not add lines to /etc/mtab Denis Vlasenko 2006-09-14 16:09:27 +00:00
  • 25098f7fd5 mount: move code from nfsmount.c into mount.c Denis Vlasenko 2006-09-14 15:46:33 +00:00
  • 6eb2f8edce - make sure that the 'build' dir exists even if we are about to build just one applet. Bernhard Reutner-Fischer 2006-09-14 15:07:48 +00:00
  • 1d6fb6d448 - do away with silly comment and do the Right Thing wrt building the archives. You have to provide the absolute path to the objdir/target.ext you want to build, as can be seen in the respective makefiles.. Bernhard Reutner-Fischer 2006-09-14 15:04:31 +00:00
  • 727ef94447 mount: fix mtab support (but it is still rather buggy) Denis Vlasenko 2006-09-14 13:19:19 +00:00
  • 85c6de71bf svn 15355 replaced "BusyBox is licensed under the GNU General Public Public License" with "BusyBox is licensed under the GNU General Public License version 2 or later... (This is the same license the Linux kernel is under...)" Except that the Linux kernel isn't under GPLv2 or later, it's just under GPLv2. Rob Landley 2006-09-14 05:59:32 +00:00
  • cc9962d7fb More code from kernel developers, and therefore licensed under GPLv2 only. Clarify the license boilerplate. Rob Landley 2006-09-14 05:27:28 +00:00
  • 73810e8d42 Add Larry Doolittle's ntpclient, plus some formatting tweaks. Rob Landley 2006-09-13 19:54:36 +00:00
  • 7fee0c4357 - fix copy'n paste errors that got introduced when switching to the shorter boilerplate. No object code changes. Bernhard Reutner-Fischer 2006-09-13 16:39:19 +00:00
  • 92582f2e11 - r16075 broke for de-selected FEATURE_UTMP; Partial fix that wants some more cleanup (see FIXME in the patch). Bernhard Reutner-Fischer 2006-09-13 15:42:47 +00:00
  • 577905f1e4 Revert duplicate patch. Rob Landley 2006-09-12 22:42:03 +00:00
  • 20cc6d567f Remove pointless "const". Bloatcheck says 0 bytes difference. Rob Landley 2006-09-12 21:42:17 +00:00
  • 1b2b5cfba8 Fix from Bernhard for somebody trying to limp along with gcc 2.95.4. Rob Landley 2006-09-12 20:29:22 +00:00
  • 16bbb20089 Random cleanup hanging around my tree. Rob Landley 2006-09-12 20:28:34 +00:00
  • b5f50ea344 - small trivia to be gentle to gcc-2.95.x which had no va_copy but only __va_copy. Bernhard Reutner-Fischer 2006-09-12 13:27:55 +00:00
  • 428a5cd0d3 - fix warning about discarding qualifiers in initialization Bernhard Reutner-Fischer 2006-09-12 13:25:16 +00:00
  • 00d7d6cef6 nfsmount: sanitize it. It had a rather peculiar idea of implementing "bg" option - it was going to return a special flag back to caller and expecting caller to call it again with special parameter! Also caller was charged with calling mount() syscall... Denis Vlasenko 2006-09-11 17:42:44 +00:00
  • 64d7e93081 - convert a few xopen3(,,0) into xopen(,). Also peruse the fact that xopen defaults to 0777 on it's own, so we don't need to xopen3(,,0777). Saves a few bytes: $ size busybox.old busybox text data bss dec hex filename 839676 8780 243592 1092048 10a9d0 busybox.old 839660 8780 243592 1092032 10a9c0 busybox $ make CC=gcc-4.2-HEAD bloatcheck function old new delta static.vconfig_main 281 279 -2 static.rx_main 1076 1074 -2 static.mt_main 294 292 -2 static.gzip_main 753 751 -2 static.mkfs_minix_main 4034 4030 -4 static.unzip_main 1771 1766 -5 static.crontab_main 1513 1507 -6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-23) Total: -23 bytes Bernhard Reutner-Fischer 2006-09-11 16:01:40 +00:00
  • 57b56674a3 - merge xstat.c into xfuncs.c Bernhard Reutner-Fischer 2006-09-11 09:18:09 +00:00
  • dea6e3d3cf - Tito pointed out that Rob forgot to add e2fsprogs/blkid/list.c Bernhard Reutner-Fischer 2006-09-11 09:16:12 +00:00
  • 49ea46667f Build fixes for gcc 4.0 with -Werror, from Tito. Rob Landley 2006-09-11 01:34:21 +00:00
  • 69674941dd Error reporting fix for sulogin, plus remove help entries for options we never implemented. (Plus a bit more of bbsh leaking in from my tree, but it shouldn't hurt anything and I'm lazy...) Rob Landley 2006-09-11 00:34:01 +00:00