aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add Larry Doolittle's ntpclient, plus some formatting tweaks.landley2006-09-131-3/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16114 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix copy'n paste errors that got introduced when switching to the shorter ↵aldot2006-09-1312-12/+12
| | | | | | | | | boilerplate. No object code changes. git-svn-id: svn://busybox.net/trunk/busybox@16113 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - r16075 broke for de-selected FEATURE_UTMP; Partial fix that wants some ↵aldot2006-09-131-28/+11
| | | | | | more cleanup (see FIXME in the patch). git-svn-id: svn://busybox.net/trunk/busybox@16112 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Revert duplicate patch.landley2006-09-121-8/+0
| | | | | | | | | | | | | | | 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). git-svn-id: svn://busybox.net/trunk/busybox@16111 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove pointless "const". Bloatcheck says 0 bytes difference.landley2006-09-126-8/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16110 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix from Bernhard for somebody trying to limp along with gcc 2.95.4.landley2006-09-121-0/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16109 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Random cleanup hanging around my tree.landley2006-09-121-8/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16108 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - small trivia to be gentle to gcc-2.95.x which had no va_copy but only ↵aldot2006-09-125-19/+10
| | | | | | __va_copy. git-svn-id: svn://busybox.net/trunk/busybox@16107 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix warning about discarding qualifiers in initializationaldot2006-09-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16106 69ca8d6d-28ef-0310-b511-8ec308f3f277
* nfsmount: sanitize it. It had a rather peculiar idea of implementing "bg"vda2006-09-113-189/+223
| | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@16102 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - convert a few xopen3(,,0) into xopen(,). Also peruse the fact that xopen ↵aldot2006-09-117-8/+8
| | | | | | | | | | | | | | | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@16101 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - merge xstat.c into xfuncs.caldot2006-09-114-14/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16100 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Tito pointed out that Rob forgot to add e2fsprogs/blkid/list.caldot2006-09-111-0/+110
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16099 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Build fixes for gcc 4.0 with -Werror, from Tito.landley2006-09-116-129/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16098 69ca8d6d-28ef-0310-b511-8ec308f3f277