dd9c072846
udhcpc: change BPF filter to not use 0xffffffff as a max packet size, there are kernels which don't like big (negative when viewed as signed) sizes.
Denis Vlasenko
2008-06-20 12:17:59 +00:00
1363f0df15
strrchr: actually, last one was finding "" in "any" at pos 0, should find at pos LAST...
Denis Vlasenko
2008-06-18 20:01:12 +00:00
d5736c5607
strrchr: bikeshed painting time! replace cubic running time implementation with quadratic make embedded test actually readable
Denis Vlasenko
2008-06-18 19:49:46 +00:00
9cd4c76b50
ash: fix "shift BIGNUM" and "read with no variable name" bugs. omg. hush testsuite helps to find bugs in ash! what next?
Denis Vlasenko
2008-06-18 19:22:19 +00:00
1ba323e5b6
cosmetics in hush testsuites
Denis Vlasenko
2008-06-18 17:53:57 +00:00
324a3fdf87
fix globbing in unquoted $* and $@
Denis Vlasenko
2008-06-18 17:49:58 +00:00
4a689e9b49
fix trivial error with inverted exit code in ls
Denis Vlasenko
2008-06-18 16:38:22 +00:00
55789c6646
hush: fix a bug with backslashes improperly handled in unquoted variables. with previous patch:
Denis Vlasenko
2008-06-18 16:30:42 +00:00
ab876cd107
hush: add testsuite for "no globbing in redirection" rule. simplify redirection habdling
Denis Vlasenko
2008-06-18 16:29:32 +00:00
985de15bf3
hush: expand quote3.tests and move from hush-bugs to hush-parsing
Denis Vlasenko
2008-06-18 09:22:31 +00:00
c7985b76c5
hush: cleanup pass, the biggest is - moved builtins to the end of the file, they really annoy in the middle of parser code. no real code changes.
Denis Vlasenko
2008-06-17 05:43:38 +00:00
b61e13d247
hush: fix memory leak. it was actually rather invloved problem. Now finally glob/variable expansion is done IN THE RIGHT ORDER! It opens up a possibility to cleanly fix remaining known bugs.
Denis Vlasenko
2008-06-17 05:11:43 +00:00
ccce59d562
hush: fixing fallout from last big glob fix: fix segfault; identify where we leak memory
Denis Vlasenko
2008-06-16 14:35:57 +00:00
32d8423e63
hush: delete hush-bugs/glob_and_vars.tests for real
Denis Vlasenko
2008-06-16 12:53:33 +00:00
82dfec3e4e
hush: fix hush-bugs/glob_and_vars.tests testcase: globbing is now done _after_ variable/cmd substitution
Denis Vlasenko
2008-06-16 12:47:11 +00:00
31e1286365
tftp: help compiler a bit
Denis Vlasenko
2008-06-16 07:32:40 +00:00
8474cd38f3
tftpd: PXE server said to need to support "tsize" option (by Pascal Bellard <pascal.bellard AT ads-lu.com>). Conditional on blocksize option && tftpd support.
Denis Vlasenko
2008-06-16 07:12:19 +00:00
f45c4f41b7
whitespace and comment fixes, no code changes
Denis Vlasenko
2008-06-16 04:09:25 +00:00
57c899e4c2
even more of help text fixes
Denis Vlasenko
2008-06-15 20:15:27 +00:00
1dba30f2de
fix config help text
Denis Vlasenko
2008-06-15 20:14:26 +00:00
b4c5bf615e
Specially for Bernhard Fischer introduce USE_BB_CRYPT which selects between libc/custom crypt routines.
Denis Vlasenko
2008-06-15 18:35:34 +00:00
f8d01d3f66
hush: fix a bug where we were requiring semicolon here: (cmd;) also fix a bug where after error prompt is not shown.
Denis Vlasenko
2008-06-14 17:13:20 +00:00
dd316dd283
hush: add support for ':'; create testsuite entries
Denis Vlasenko
2008-06-14 15:50:55 +00:00
a1767a1f5d
dos2unix: do not destroy symlinks and mode of the file being converted.
Denis Vlasenko
2008-06-14 04:28:41 +00:00
21765fa063
udhcpc: kill undocumented -W, it was a no-op. fix option parsing in the case some CONFIG_x are off. disable -b on NOMMU, make backgrounding work correctly (if a bit differently from MMU case). Previously, it wasn't working at all. stop using global data for flags in main(), opt bitfield works as well.
Denis Vlasenko
2008-06-13 20:44:05 +00:00
c7497ea31b
build system: introduce FEATURE_ASSUME_UNICODE ls: use it. also do G trick. with UNICODE off:
Denis Vlasenko
2008-06-13 11:16:09 +00:00
25b463079d
httpd: fix bugs in authentication (by Peter Korsgaard <jacmet ATuclibc.org>) we were accepting empty username; also we were always checking dummy user:passwd pair ":" if user gave us wrong one.
Denis Vlasenko
2008-06-13 09:55:13 +00:00
0eb406caa8
htppd: lots of variable/function renaming in config file parsing. fixed a bug where we trashed config file's name; otherwise, should not have any real behavioral changes.
Denis Vlasenko
2008-06-13 09:53:06 +00:00
4ea83bf562
uclibc insists on having 70k static buffer for crypt. For bbox it's not acceptable. Roll our own des and md5 crypt implementation. Against older uclibc:
Denis Vlasenko
2008-06-12 16:55:59 +00:00
9de4622055
- make the first arg of the filter function passed to rtnl_dump_filter constant to match normal iproute. No obj-code changes.
Bernhard Reutner-Fischer
2008-06-12 15:54:49 +00:00
7e3d33b6ce
hush: speed up o_addX{chr,str}
Denis Vlasenko
2008-06-12 13:31:04 +00:00
76db5adbf7
hush: fix for nested $()s with escapes + testsuite
Denis Vlasenko
2008-06-12 12:58:20 +00:00
bd1aeeb850
logger: "clean up" a dirty hack a bit
Denis Vlasenko
2008-06-11 15:43:19 +00:00
87f40bac14
hush: more backtick and quoting fixes...
Denis Vlasenko
2008-06-10 22:39:37 +00:00
43360e5178
hush: fix escaping of \[*?; add testsuites for these and for globbing
Denis Vlasenko
2008-06-10 20:13:40 +00:00
2e76c3f901
hush: fix yet another fallout hush: move fixed testsuites out of hush-bugs/*
Denis Vlasenko
2008-06-10 18:27:50 +00:00
895bea2303
hush: fix some fallout from prev commits, add testsuite
Denis Vlasenko
2008-06-10 18:06:24 +00:00
2d0529c9bc
msh_function.patch: picked it up in the wild. Fixed allocation bugs (it was allocating one too small vectors) but it still is very buggy, thus not applied.
Denis Vlasenko
2008-06-09 07:50:25 +00:00
53354ac47d
libbb: introduce and use print_flags(). Mostly by Natanael Copa <natanael.copa AT gmail.com>
Denis Vlasenko
2008-06-07 15:10:29 +00:00
f0d6c25586
Update a link to cross-compiling HOWTO.
Denis Vlasenko
2008-06-07 13:59:27 +00:00
c0cd9f29d2
Fix trivial problems: "make clean" cleaning too much and add #include to pull in __be32 typedef.
Denis Vlasenko
2008-06-07 12:23:44 +00:00
a05c0716c2
grep: make "-f -" work (+ testsuite) diff: small code shrink
Denis Vlasenko
2008-06-07 05:19:31 +00:00
401de648a7
Build system: track -Wl,-elf2flt in CFLAGS_busybox too. Document in comments that it generally should be thers, not in LDFLAGS
Denis Vlasenko
2008-06-06 16:11:12 +00:00
7bdf0c82da
klogd: make help text more understandable klogd: by using a register instead of global variable, shrink code a bit
Denis Vlasenko
2008-06-06 16:08:04 +00:00
797c96d8ce
- fix compilation on standard-conforming compilers
Bernhard Reutner-Fischer
2008-06-06 10:31:39 +00:00
593f8baeb0
- fix copy'n paste error for the release date
Bernhard Reutner-Fischer
2008-06-06 08:40:28 +00:00