Age | Commit message (Collapse) | Author |
|
- 'function fn_name\n{' breaks on older FreeBSD default shells, so use the more
widely supported 'fn_name () {'. This needs more fixing..
- test for integers ought to use the proper operators
- test for strings ought to use quoting of the strings to be fair to strange
implementations of test(1)
- make sure not to ignore return-codes != 0 from commands; Some shells exit
immediately on this (much like explicitely requesting set -e in e.g. bash)
TODO:
*) Some older shells do not allow a space after the test-condition in an "if"
statement. This doesn't work:
if [ $status -ne 0 ] ; then
as opposed to this:
if [ $status -ne 0 ]; then
or this
if [ $status -ne 0 ]
then
*) strict spacing between commands. In some shells you have to say:
foo ; bar ; baz
The affected shells barf on stuff like ommitting the space, so this doesn't
work:
foo; bar ;baz
*) $() vs. ``
The former isn't really portable as opposed to the latter.
*) fix frong assumption that the testsuite is run from the source-dir.
This is a complete misconception and renders the testsuite completely useless.
That said, i note that IMO a test-harness ought to do it's best to work in
a wide variety of environments, everything else defeats it's purpose.
|
|
|
|
llist.c interface change that accidentally got checked in. My bad.
|
|
the actual blocking of HUP.
|
|
|
|
the infrastructure to merge global structs into a union...
|
|
memset, collate variable declarations...
|
|
vaguely portable, and licensed GPLv2 "or later".
|
|
- flag .depend as .NOTPARALLEL to workaround bug in make-3.80 and make-3.81
Some more details on the second workaround (i.e. kludge):
make-3.80 silently fails, while make-3.81 is at least self-conscious enough to
admit:
include/usage_compressed.h: .config scripts/usage
# Implicit rule search has not been done.
# File does not exist.
# File has not been updated.
# Dependencies commands running (THIS IS A BUG).
# commands to execute (from `/home/cow/src/bb2/Makefile', line 430):
$(Q)$(SHELL) $(top_srcdir)/scripts/usage_compressed "$(top_builddir)/scripts" > $@
I'm giving up on trying to run the rest of the prerequisites of .depend in
parallel and just (try to) indicate that the prerequisites of .depend are
not to be run in parallel.
While this makes `make distclean defconfig;make -j´ work for me, it is not a
real -- longterm -- solution; FIXME
|
|
Makefile uses the wrong path to the binary (it's in top_builddir and not in top_srcdir)
|
|
|
|
|
|
|
|
- put CONFIG_DEBUG_CROND_OPTION into config
no changes in size when debugging is disabled.
|
|
have no CONFIG option to enable, and which existing SLIP users don't seem
to miss.
|
|
|
|
|
|
|
|
|
|
and bb_calloc() calls to bb_xzalloc() which allocates prezeroed memory but
only takes one argument (the size).
|
|
- use shorter boilerplate while at it
|
|
|
|
|
|
allyesconfig, allnoconfig, defconfig, allbareconfig
- fix invalid call to "make"; use $(MAKE) instead.
|
|
|
|
by me.
|
|
|
|
I thought Robert Day pointed this out, but i cannot find the mail in the archives..
|
|
|
|
- do not use _PATH_DEVNULL gnuism but bb_dev_null.
Thanks to Rich Felker.
|
|
fine in C99, but it really serves no purpose other than breaking compilation
on C89 compilers.
Thanks to Rich Felker for pointing this out.
|
|
Thanks to Rich Felker for pointing this out.
|
|
SIGIOT is not defined in any standard i can find and it seems to be
useless (alias for SIGABRT) on linux. i put it in #ifdef but it's
probably best just to remove it and cut down the size a bit.
|
|
This applet should be converted to use llist; __NEED_DLLIST
|
|
Thanks to Rich Felker for pointing this out.
|
|
|
|
- rename get_kernel_revision() to get_linux_version_code
from Robert P. J. Day
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
isn't implemented in uClibc, so we can't use it.
|
|
ibs and obs support to dd, and made it configurable. I cleaned it up a bit
further and moved conv= into the same config option.
|
|
|
|
handle packets out of sequence if some data goes through the buffer and
some doesn't, B) it works on systems that can't handle aligned access,
C) we just have one code path to worry about.
While we're at it, sizeof() and RESERVE_CONFIG_BUFFER() really don't combine
well, which is why md5sum has been reading and processing data 4 bytes at a
time. I suspect that the existence of CONFIG_MD5_SIZE_VS_SPEED to do loop
unrolling and such in the algorithm was an attempt to work around that bug.
|
|
|
|
|