aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-09-19stty: fix few bugs found in testingDenis Vlasenko
2006-09-19getty: oops... removing duplicate #include <syslog.h>Denis Vlasenko
2006-09-19stty: reorder code, reducing need in forward declarations.Denis Vlasenko
added few missed bits of error checking for parameters.
2006-09-19stty: convert "enum mode_type" into unnamed enumDenis Vlasenko
(reduces code obfuscation); deindent set_mode; add _or_die suffixes to few functions
2006-09-19stty: reduce #ifdef forestDenis Vlasenko
2006-09-19stty: simplify linewrapping code a bitDenis Vlasenko
2006-09-19stty: style fixesDenis Vlasenko
2006-09-19stty: fix a longstanding FIXME (was able to die half-way setting term params)Denis Vlasenko
2006-09-19mount: fstabname needs to be const char*Denis Vlasenko
2006-09-19mount: fix warning (printf field width of * wants int, not size_t)Denis Vlasenko
2006-09-19getty: #include <syslog.h>Denis Vlasenko
2006-09-19change char *string = "foo" -> char string[] = "foo"Denis Vlasenko
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
2006-09-17whitespace cleanupDenis Vlasenko
2006-09-17mount: style fixletDenis Vlasenko
2006-09-17style fixesDenis Vlasenko
2006-09-17mount: revert mount --bind to using "bind" as fstype.Denis Vlasenko
2006-09-17mount: mount_it_now() - char *dir is not really needed.Denis Vlasenko
2006-09-17mount: fix "duplicate mount options in mtab" bugDenis Vlasenko
2006-09-17mount: nfs_strerror's static buffer was bigger than needed.Denis Vlasenko
2006-09-17mount: getopt_ulflag'ificationDenis Vlasenko
2006-09-17mount: style fixesDenis Vlasenko
2006-09-17mount: fix bugs: free(mp->mnt_fsname) of non-malloced ptr;Denis Vlasenko
check for "more than 2 arguments" was actually checking for -2.
2006-09-17mount: use bb_simplify_path as appropriateDenis Vlasenko
2006-09-17mount: style fixesDenis Vlasenko
2006-09-17login: apply fixes + getopt_ulflag'ification by BernhardDenis Vlasenko
2006-09-15- Steven Scholz pointed out that ssd's make-pid doesn't take an argument.Bernhard Reutner-Fischer
2006-09-15mount: reorder things, fix NFS-less mount.Denis Vlasenko
2006-09-15Unbreak allbareconfig.Rob Landley
2006-09-15So, in the cornucopia of superfulous warning directives I didn't add to theRob Landley
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).
2006-09-15Unbreak allbareconfig.Rob Landley
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.
2006-09-14Strangely, using // in the comments I added was not a persistent accident.Rob Landley
2006-09-14login: eliminate forward decls and #ifdefsDenis Vlasenko
2006-09-14umount: do not try to close FILE* which is NULL.Denis Vlasenko
2006-09-14mount: -o remount should not add lines to /etc/mtabDenis Vlasenko
2006-09-14mount: move code from nfsmount.c into mount.cDenis Vlasenko
2006-09-14- make sure that the 'build' dir exists even if we are about to build just ↵Bernhard Reutner-Fischer
one applet.
2006-09-14- do away with silly comment and do the Right Thing wrt building the archives.Bernhard Reutner-Fischer
You have to provide the absolute path to the objdir/target.ext you want to build, as can be seen in the respective makefiles..
2006-09-14mount: fix mtab support (but it is still rather buggy)Denis Vlasenko
2006-09-14svn 15355 replaced "BusyBox is licensed under the GNU General Public PublicRob Landley
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.
2006-09-14More code from kernel developers, and therefore licensed under GPLv2 only.Rob Landley
Clarify the license boilerplate. On an unrelated note, this could use busyboxification. check_mount() looks reusable and ask() is generic...
2006-09-13Add Larry Doolittle's ntpclient, plus some formatting tweaks.Rob Landley
2006-09-13- fix copy'n paste errors that got introduced when switching to the shorter ↵Bernhard Reutner-Fischer
boilerplate. No object code changes.
2006-09-13- r16075 broke for de-selected FEATURE_UTMP; Partial fix that wants some ↵Bernhard Reutner-Fischer
more cleanup (see FIXME in the patch).
2006-09-12Revert duplicate patch.Rob Landley
I don't know why patch decided to apply this even though it was already in the tree. I thought the other hunks failed because they were totally unrelated leakage from Bernhard's tree (which they are; was the a reason for bundling them in with this fix? Do they have something to do with the GCC 2.95 fix? I suspect they prevent me from backporting this patch to 1.2.2 because the header consolidation into libbb.h hadn't been done yet, and no I'm not fixing it up: if that's the case then this patch won't be in 1.2.2 due to extraneous changes bundled with it that prevent a clean backport without rolling a new patch).
2006-09-12Remove pointless "const". Bloatcheck says 0 bytes difference.Rob Landley
2006-09-12Fix from Bernhard for somebody trying to limp along with gcc 2.95.4.Rob Landley
2006-09-12Random cleanup hanging around my tree.Rob Landley
2006-09-12- small trivia to be gentle to gcc-2.95.x which had no va_copy but only ↵Bernhard Reutner-Fischer
__va_copy.
2006-09-12- fix warning about discarding qualifiers in initializationBernhard Reutner-Fischer
2006-09-11nfsmount: sanitize it. It had a rather peculiar idea of implementing "bg"Denis Vlasenko
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... mount: mtab support was non-functional. Enabling it revealed serious bug which is not fixed yet.