Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
to an int (bad on 64bit arches)
|
|
|
|
|
|
|
|
|
|
include the libbb.h header file ... but then we have to worry about including too early/etc...
since simply defining the prototype in an internal header file doesnt hurt anyone, lets not worry about the header file crap and just always prototype the inet6 functions
|
|
|
|
function
|
|
|
|
0000353: [PATCH] start-stop-daemon -q is not quiet
|
|
|
|
|
|
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.
|
|
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.
|
|
|
|
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.)
|
|
be displayed unless CONFIG_FEATURE_UTMP is set. This was not the intended
result.
|
|
|
|
* libbb/printf.c: Check for __NEWLIB_H__ before __GLIBC__.
|
|
* networking/ping.c (ping): Change the type of fromlen to socklen_t.
|
|
along the way
|
|
|
|
|
|
compile due to CONFIG_FEATURE_MOUNT_LOOP_MAX otherwise. reported
by Stephane Billiart.
|
|
0000093: Patch for dpkg - can't handle scripts
Attached patch is needed to fix dpkg's support for preinst,
postinst etc script files.
|
|
|
|
is per the upstream fix for dash, in dash_0.5.2-6.diff. thanks vodz, for
catching this.
|
|
0000142: unzip enhancements
|
|
0000026: poor man's "scriptable" telnet
|
|
0000271: [PATCH] tftp -g fails if a TFTP_ACK is lost
|
|
0000265: tail -f should keep following files even if they
were truncated
|
|
0000263: nc cannot use -e when initiating a tcp connection
to something else
|
|
0000262: tar -x doesn't believe it has reached the end of archive
|
|
0000261: Unsafe empty env var export in ash
|
|
0000260: udhcpc doesn't validate client hardware address
|
|
0000227: sort use wrong type for getopt return variable
|
|
0000203: 'ip route flush cache' not implemented
|
|
0000185: httpd infinite loop when piping to CGI script
|
|
0000155: variable expansion with braces in backticks in msh
|
|
0000152: ash: quoting rules for local variables different to globals
|
|
0000143: sysklogd remote logging adds a space between facility and tag
|
|
0000118: vi join command does not mark file as modified for certain lines.
|
|
|
|
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.
|