aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-07-28dont output anything when running in silent modeMike Frysinger
2005-07-28From Rich Paul:Rob Landley
I've noticed that when I compile busybox on my laptop, it compiles more slowly than one would expect, and although it's a (more-or-less) multiprocessor system and I use -j5, make never seems to run more than one job at a time. I believe I have found the culprit:  each time a file is compiled, gcc runs about 5 times.  This is because the $(check_gcc) macros and the TARGET_ARCH macros are late binding. The attached patch cuts the compilation time by 66%, from 1.5 minutes to 30 seconds.  Your mileage may very.  These statements have not been evaluated by the FDA.
2005-07-28Erik pointed out that in the last try at the #ifdef cleanup Rob Landley
infrastructure, the compiler isn't smart enough to replace const static int with the constant, and allocates space for each set of them, bloating the executable something fierce. Oops. So now, we #define ENABLE_XXX to 0 or 1 for each CONFIG_XXX (which is still there so the 1000+ #ifdef/#ifndef tests don't have to be replaced wholesale). Changed the test instance in networking/ifconfig.c to use this.
2005-07-27move the ifdef to after libbb.h include, so it can do some good.Paul Fox
2005-07-27#ifdef reduction infrastructure, based on an argument between Shaun Jackman,Rob Landley
Rob Landley, and others. Currently CONFIG options are defined or undefined, so we chop out code with #ifdefs, ala: #ifdef CONFIG_THING stuff(); #endif This creates a new header file, bb_config.h, which sets the CONFIG entry to 1 or 0, and lets us do: if(CONFIG_THING) stuff(); And let the compiler do dead code elimination to get rid of it. (Note: #ifdef will still work because for the 1 case it's a static const int, not a #define.)
2005-07-27The change in getty.c in Busybox 1.01 caused the /etc/issue file to notEric Andersen
be displayed unless CONFIG_FEATURE_UTMP is set. This was not the intended result.
2005-07-27use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger
2005-07-262005-04-05 Shaun Jackman <sjackman@gmail.com>Mike Frysinger
* libbb/printf.c: Check for __NEWLIB_H__ before __GLIBC__.
2005-07-262005-03-19 Shaun Jackman <sjackman@gmail.com>Mike Frysinger
* networking/ping.c (ping): Change the type of fromlen to socklen_t.
2005-07-26remove unused variable ret as reported by apgo in Bug 350 and touchup syntax ↵Mike Frysinger
along the way
2005-07-26no longer used as reported by apgo in Bug 348Mike Frysinger
2005-07-26just punt all the f_frsize crap since not all linux headers support it Bug 346Mike Frysinger
2005-07-22ifdef all of loop.c with CONFIG_FEATURE_MOUNT_LOOP. won'tPaul Fox
compile due to CONFIG_FEATURE_MOUNT_LOOP_MAX otherwise. reported by Stephane Billiart.
2005-07-22applying fix for:Paul Fox
0000093: Patch for dpkg - can't handle scripts Attached patch is needed to fix dpkg's support for preinst, postinst etc script files.
2005-07-21remove duplicate check against chaddr.Paul Fox
2005-07-21revert 10881, and refix by changing "if (vallen)" to "if (val)". thisPaul Fox
is per the upstream fix for dash, in dash_0.5.2-6.diff. thanks vodz, for catching this.
2005-07-20applying fixes from: Paul Fox
0000142: unzip enhancements
2005-07-20applying fix for:Paul Fox
0000026: poor man's "scriptable" telnet
2005-07-20applying fix for:Paul Fox
0000271: [PATCH] tftp -g fails if a TFTP_ACK is lost
2005-07-20applying fix for:Paul Fox
0000265: tail -f should keep following files even if they were truncated
2005-07-20applying fix for: Paul Fox
0000263: nc cannot use -e when initiating a tcp connection to something else
2005-07-20applying fix for:Paul Fox
0000262: tar -x doesn't believe it has reached the end of archive
2005-07-20applying fix for:Paul Fox
0000261: Unsafe empty env var export in ash
2005-07-20applying fix for:Paul Fox
0000260: udhcpc doesn't validate client hardware address
2005-07-20applying patch from:Paul Fox
0000227: sort use wrong type for getopt return variable
2005-07-20applying fix for:Paul Fox
0000203: 'ip route flush cache' not implemented
2005-07-20applying fix for:Paul Fox
0000185: httpd infinite loop when piping to CGI script
2005-07-20applyinf fix for:Paul Fox
0000155: variable expansion with braces in backticks in msh
2005-07-20applying fix from:Paul Fox
0000152: ash: quoting rules for local variables different to globals
2005-07-20applying fix for:Paul Fox
0000143: sysklogd remote logging adds a space between facility and tag
2005-07-20applying fix for:Paul Fox
0000118: vi join command does not mark file as modified for certain lines.
2005-07-20much more concise fix for bug #45. just align the packet...Paul Fox
2005-07-20If /tmp and /home were different partitions, then "mv /tmp/file /home/file"Rob Landley
would delete /home/file even if /tmp/file didn't exist. This fixes that, although the logic of both mv and cp is a bit tangled and should probably be untangled.
2005-07-19applying fix for:Paul Fox
0000117: Remove linefeed after overwrite prompt using cp -i User input not on the same line as the prompt when about to overwrite a file.
2005-07-19applying fix from:Paul Fox
0000108: busyboxy/networking/ftpgetput.c not conforming to RFC 959. ftpget and ftpput send <LF> as EOL.
2005-07-19applying fix from;Paul Fox
0000092: looks like the initializer for .need_suid was missing.
2005-07-19applying fix from:Paul Fox
0000088: inetd chargen stream does not generate the characters as recommended in RFC 864 Chragen service is generating garbage characters.
2005-07-19applying fix from:Paul Fox
0000068: mount limited to max 8 loop devices (patch provided) (made minor wording change for config help message)
2005-07-19applying fix from:Paul Fox
0000067: cp -p produces misleading error message
2005-07-19applying:Paul Fox
0000054: Tab completing filenames in ash causes SEGV Simple tab completion operations cause busybox (ash) to access illegal addresses.
2005-07-19applying fix for:Paul Fox
0000045: traceroute causes an alignment trap due to unaligned buffer on arm
2005-07-18Fixup makedevs to handle regular files, and also fixEric Andersen
it to properly update file permissions as specified.
2005-07-18fix for "0000027: patch: nc will spin if stdin closed"Paul Fox
2005-07-18allow both ^H and DEL to backspace in insert mode (bug #23)Paul Fox
2005-07-18Fix vi so that error messages, insert mode messages, etc areEric Andersen
all actually displayed in the status line as expected
2005-07-18a bit more polishEric Andersen
2005-07-18a bit of polish on makedevsEric Andersen
2005-07-18the makedevs config option was pretty much totally brokenEric Andersen
2005-07-18Fixup device table based makedevs so it actually worksEric Andersen
2005-07-06move var decls around a little to help gcc make smaller codeMike Frysinger