summaryrefslogtreecommitdiff
path: root/networking
AgeCommit message (Collapse)Author
2006-08-05scripts/individual now builds 171 applets. Some of them may even work. :)Rob Landley
2006-08-04Ok, that's not a typo, that's just me not thinking.Rob Landley
2006-08-04Now that we have xopen3(), it's just plain unclean to have xopen() withRob Landley
O_CREAT. Two users are still doing it (and thus getting permissions 777), I'm not sure what permissions they should be using but here they are changed to xopen3(). This costs us a dozen or so bytes, but removing the 777 from xopen() should get some of that back.
2006-08-03Remove xcalloc() and convert its callers to xzalloc(). About half of themRob Landley
were using "1" as one of the arguments anyway, and as for the rest a multiply and a push isn't noticeably bigger than pushing two arguments on the stack.
2006-08-03These should have been part of 15767 too.Rob Landley
2006-08-03Attempt to fixup httpd.c to match svn 15767.Rob Landley
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-08-03Move declaration to be compatible with older gcc's."Robert P. J. Day"
2006-08-01Make a gcc 4.1 warning go away.Rob Landley
2006-07-24get rid of udhcp submenuMike Frysinger
2006-07-16Cleaup read() and write() variants, plus a couple of new functions likeRob Landley
xlseek and fdlength() for the new mkswap.
2006-07-16Convert setuid/setgid users to xsetuid/xsetgid.Rob Landley
2006-07-12A couple things that got tangled up in my tree, easier to check in both thanRob Landley
untangle them: Rewrite u_signal_names() into get_signum() and get_signame(), plus trim the signal list to that required by posix (they can specify the numbers for the rest if they really need them). (This is preparatory cleanup for adding a timeout applet like Roberto Foglietta wants.) Export the itoa (added due to Denis Vlasenko, although it's not quite his preferred implementation) from xfuncs.c so it's actually used, and remove several other redundant implementations of itoa and utoa() in the tree.
2006-07-11Add one-line GPL boilerplate to these source files."Robert P. J. Day"
2006-07-10Upgrade netcat a lot. Make -e able to take the rest of the command line asRob Landley
what to exec. Add -f mode and a brief explanation of how to use it to replace minicom. Add -l -l mode so you can turn any command into a server. And group all of netcat's command line options under two CONFIG entries, so if you disable both it doesn't use getopt at all.
2006-07-05This file doesn't appear to be used anywhere."Robert P. J. Day"
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-07-01More removal of "#if 0" content."Robert P. J. Day"
2006-07-01Remove all usage of the "register" storage class specifier."Robert P. J. Day"
2006-06-30Bug http://bugs.busybox.net/view.php?id=723 - initialize tv1 the first timeRob Landley
through the loop.
2006-06-27Patch from Geoff Baker to fix bug http://bugs.busybox.net/view.php?id=905 byRob Landley
changing wget's ftp code not to chdir but to use the complete path each time.
2006-06-26Properly print the output for a sit (IPv6-in-IPv4) interface."Robert P. J. Day"
2006-06-26Aesthetic fix to use newer structure initialization format."Robert P. J. Day"
2006-06-25Various cleanups I made while going through Erik Hovland's patch submissions,Rob Landley
some of which are even from him. :)
2006-06-25A few patches from Erik Hovland, turning strncpy() into safe_strncpy() andRob Landley
removing some unnecessary code.
2006-06-22Clean up.Rob Landley
2006-06-22CONFIG_DHCP -> CONFIG_APP_DHCP.Rob Landley
2006-06-20only enable count_bit functions when actually needed to fix warning reported ↵Mike Frysinger
by Bernhard Fischer
2006-06-20Patch by Robert P. Day to remove obsolete alias code that the 2.4 and 2.6Rob Landley
Linux kernels don't do anymore.
2006-06-20Patch by Robert P. Day to make structs use c99 initializers.Rob Landley
2006-06-20Patch from Robert P. J. Day cleaning up some unnecessary preprocessorRob Landley
directives.
2006-06-19Make some 64 bit warnings go away on x86-64.Rob Landley
2006-06-18skip_whitespace() shouldn't claim its return value is const, it doesn't knowRob Landley
that and callers wind up typecasting it back.
2006-06-18Make this slightly more readable, and expose the hypocrasy of a comment thatRob Landley
says "our implementation makes it impossible to use blocksizes smaller than 22 octets" right above a check for blocksize < 8.
2006-06-16- add needed includes and include busybox.h needed for the ATTRIBUTE define.Bernhard Reutner-Fischer
2006-06-14- rename CONFIG_FEATURE_TFTP_DEBUG to CONFIG_DEBUG_TFTPBernhard Reutner-Fischer
2006-06-14- rename CONFIG_FEATURE_TFTP_DEBUG to CONFIG_DEBUG_TFTP so it's off in defconfigBernhard Reutner-Fischer
- expand the cmd_get/cmd_put macros - Jason Schoon writes: unlink only if non-stdio
2006-06-14- correct typoBernhard Reutner-Fischer
2006-06-13Don't break allbareconfig.Rob Landley
2006-06-13Patch from Denis Vlasenko:Rob Landley
* Rename a var: statbytes -> transferred * cursize == transferred, always. Nuke cursize. * Make progressmeter() a nop if !CONFIG_FEATURE_WGET_STATUSBAR (reduces #ifdef forest) * double elapsed -> int elapsed * Do not sprintf to buf first and then write(STDERR) it, just fprintf directly to stderr * Progress bar printing code made smaller * Style fixes
2006-06-13Whitespace cleanup from Denis Vlasenko.Rob Landley
2006-06-10- revert incorrect select changeBernhard Reutner-Fischer
2006-06-10- fix two segfaults (reported by Horst Kronstorfer)Bernhard Reutner-Fischer
- remove dangling file if get fails (spotted and fixed by Jason Schoon) - shrink it (Bernhard Fischer) Thanks, all! text data bss dec hex filename 2684 0 0 2684 a7c networking/tftp.o.orig 2748 0 0 2748 abc networking/tftp.o.allfixed 2666 0 0 2666 a6a networking/tftp.o.+shrink
2006-06-10- use bb_xbindBernhard Reutner-Fischer
Thanks Erik Hovland
2006-06-07- reuse strings and messages. Saves about 600BBernhard Reutner-Fischer
2006-06-07use bb_xbind/bb_xlistenMike Frysinger
2006-06-07- fix the build if we have ftpput without ftpget (speeling reeoe)Bernhard Reutner-Fischer
Thanks to Stephane Billiart
2006-06-05Header cleanup on two more networking files (move libbb.h to the top andRob Landley
remove #includes that libbb.h already does), plus a minor cleanup of libbb.h to move #includes towards the top of the file where we can see 'em.
2006-06-03- use bb_msg_{read,write}_error where appropriate.Bernhard Reutner-Fischer
text data bss dec hex filename 825015 9100 645216 1479331 1692a3 busybox.old 824919 9100 645216 1479235 169243 busybox
2006-06-03Remove #ifdeffed out code, both KEEP_UNUSED and #if 0.Rob Landley