aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* - gcc-2.95 doesn't support -static-libgccaldot2006-09-211-2/+5
| | | | | | | - remove Winline git-svn-id: svn://busybox.net/trunk/busybox@16170 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: make Rob happy by reinstating #definesvda2006-09-211-4/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16169 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Teach get_terminal_width_height to fall back to $LINES and $COLUMNS whenlandley2006-09-203-37/+27
| | | | | | | used via things like a serial console. git-svn-id: svn://busybox.net/trunk/busybox@16167 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The version checked into the tree is a snapshot of an unifinished applet, andlandley2006-09-201-7/+7
| | | | | | | | | you just made lots of ">>>>>>> mine" lines show up in my working copy of this. Please don't do that again. git-svn-id: svn://busybox.net/trunk/busybox@16166 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The Software Freedom Law Center wants us to add a copyright notice to thelandley2006-09-202-15/+8
| | | | | | | | | | | | | | | | | | generated binaries, to make copyright enforcement easier. Our liason with them (Bradley Kuhn) suggested the following text: > Copyright (C) YEAR-2006  Erik Andersen, Rob Landley, and others. > Licensed under GPLv2.  See source distribution for full notice. And the busybox help message seems the least offensive place to put it. (At some point in the future, I need to strip 128 bytes from the binary to feel good about this, though. :) Minor header file cleanup while I was there, since libbb.h already #includes most of that stuff... git-svn-id: svn://busybox.net/trunk/busybox@16165 69ca8d6d-28ef-0310-b511-8ec308f3f277
* License clarification.landley2006-09-202-4/+51
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16164 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix documentation for the command-line options of ipcs. Closes #1036aldot2006-09-201-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16163 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix embarrassing typo of mine. Closes bug #1038aldot2006-09-201-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16162 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ipcs: fix output (misaligned columns)vda2006-09-191-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16161 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ipcs: getopt_ulflag'ification, -170 bytesvda2006-09-191-39/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16160 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: fix few bugs found in testingvda2006-09-191-25/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16158 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getty: oops... removing duplicate #include <syslog.h>vda2006-09-191-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16156 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: reorder code, reducing need in forward declarations.vda2006-09-191-211/+198
| | | | | | | added few missed bits of error checking for parameters. git-svn-id: svn://busybox.net/trunk/busybox@16155 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: convert "enum mode_type" into unnamed enumvda2006-09-191-157/+169
| | | | | | | | (reduces code obfuscation); deindent set_mode; add _or_die suffixes to few functions git-svn-id: svn://busybox.net/trunk/busybox@16154 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: reduce #ifdef forestvda2006-09-191-52/+45
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16153 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: simplify linewrapping code a bitvda2006-09-191-55/+33
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16152 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: style fixesvda2006-09-191-102/+93
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16150 69ca8d6d-28ef-0310-b511-8ec308f3f277
* stty: fix a longstanding FIXME (was able to die half-way setting term params)vda2006-09-191-171/+241
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16149 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: fstabname needs to be const char*vda2006-09-191-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16148 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: fix warning (printf field width of * wants int, not size_t)vda2006-09-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16147 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getty: #include <syslog.h>vda2006-09-191-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16146 69ca8d6d-28ef-0310-b511-8ec308f3f277
* change char *string = "foo" -> char string[] = "foo"vda2006-09-193-53/+53
| | | | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@16145 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace cleanupvda2006-09-1792-218/+218
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16142 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: style fixletvda2006-09-171-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16141 69ca8d6d-28ef-0310-b511-8ec308f3f277
* style fixesvda2006-09-171-5/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16140 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: revert mount --bind to using "bind" as fstype.vda2006-09-171-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16139 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: mount_it_now() - char *dir is not really needed.vda2006-09-171-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16138 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: fix "duplicate mount options in mtab" bugvda2006-09-171-3/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16137 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: nfs_strerror's static buffer was bigger than needed.vda2006-09-171-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16136 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: getopt_ulflag'ificationvda2006-09-171-38/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16135 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: style fixesvda2006-09-171-34/+34
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16134 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: fix bugs: free(mp->mnt_fsname) of non-malloced ptr;vda2006-09-171-17/+20
| | | | | | | check for "more than 2 arguments" was actually checking for -2. git-svn-id: svn://busybox.net/trunk/busybox@16133 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: use bb_simplify_path as appropriatevda2006-09-171-21/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16132 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: style fixesvda2006-09-171-21/+24
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16131 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: apply fixes + getopt_ulflag'ification by Bernhardvda2006-09-171-44/+29
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16130 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Steven Scholz pointed out that ssd's make-pid doesn't take an argument.aldot2006-09-151-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16129 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: reorder things, fix NFS-less mount.vda2006-09-151-380/+360
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16128 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Unbreak allbareconfig.landley2006-09-151-5/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16127 69ca8d6d-28ef-0310-b511-8ec308f3f277
* So, in the cornucopia of superfulous warning directives I didn't add to thelandley2006-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | 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. The second category of superfluous warnings is warning about functions with no previous declaration. Apparently, if you add ALWAYS_INLINE to an empty function definition, it considers the sucker undeclared as far as the warning is concerned. (I.E. it's a buggy warning. I try not to ask the compiler to generate warnings it can't competently generate.) This is why I removed "inline" (unbreak allbareconfig), and couldn't replace it with "ALWAYS_INLINE" (still broke allbareconfig). git-svn-id: svn://busybox.net/trunk/busybox@16126 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Unbreak allbareconfig.landley2006-09-151-15/+3
| | | | | | | | | We've had -Werror in the tree for quite a while, so adding #warning somewhat counterproductve way to make comments on the code that belong on the mailing list anyway. git-svn-id: svn://busybox.net/trunk/busybox@16125 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Strangely, using // in the comments I added was not a persistent accident.landley2006-09-141-65/+62
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16124 69ca8d6d-28ef-0310-b511-8ec308f3f277
* login: eliminate forward decls and #ifdefsvda2006-09-141-191/+166
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16123 69ca8d6d-28ef-0310-b511-8ec308f3f277
* umount: do not try to close FILE* which is NULL.vda2006-09-141-11/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16122 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: -o remount should not add lines to /etc/mtabvda2006-09-141-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16121 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: move code from nfsmount.c into mount.cvda2006-09-144-1031/+1018
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16120 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make sure that the 'build' dir exists even if we are about to build just ↵aldot2006-09-141-0/+7
| | | | | | one applet. git-svn-id: svn://busybox.net/trunk/busybox@16119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - do away with silly comment and do the Right Thing wrt building the archives.aldot2006-09-141-28/+1
| | | | | | | You have to provide the absolute path to the objdir/target.ext you want to build, as can be seen in the respective makefiles.. git-svn-id: svn://busybox.net/trunk/busybox@16118 69ca8d6d-28ef-0310-b511-8ec308f3f277
* mount: fix mtab support (but it is still rather buggy)vda2006-09-141-13/+27
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16117 69ca8d6d-28ef-0310-b511-8ec308f3f277
* svn 15355 replaced "BusyBox is licensed under the GNU General Public Publiclandley2006-09-141-1/+1
| | | | | | | | | | | | 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. Now they match again. git-svn-id: svn://busybox.net/trunk/busybox@16116 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More code from kernel developers, and therefore licensed under GPLv2 only.landley2006-09-141-12/+4
| | | | | | | | | | Clarify the license boilerplate. On an unrelated note, this could use busyboxification. check_mount() looks reusable and ask() is generic... git-svn-id: svn://busybox.net/trunk/busybox@16115 69ca8d6d-28ef-0310-b511-8ec308f3f277