Denis Vlasenko
f7583d89b0
patch: fix double-free (bug 1120)
2006-12-17 00:33:29 +00:00
Denis Vlasenko
9f739445cd
inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]
2006-12-16 23:49:13 +00:00
Denis Vlasenko
a597aaddfa
s/extern inline/static ATTRIBUTE_ALWAYS_INLINE/g
...
xstrtou: disallow leading '+'
2006-12-16 23:48:13 +00:00
Denis Vlasenko
3469c185e5
wget: smallish optimization
2006-12-16 22:19:47 +00:00
Denis Vlasenko
6a1d661036
diff: fix -q exit code
...
last_char_is: sacrifice 9 bytes but avoid double-scan
2006-12-16 22:18:44 +00:00
Denis Vlasenko
79e77cdbed
site: add link to directory with patches
2006-12-15 22:10:07 +00:00
Denis Vlasenko
cda6c636ca
re-applying first post-1.3.x change
...
version change to 1.4.0.svn
2006-12-15 00:59:35 +00:00
Denis Vlasenko
44b2ea786e
back out last change - need to make busybox-1_3-stable branch first
2006-12-15 00:02:30 +00:00
Bernhard Reutner-Fischer
728534b3cb
- table support for ip route
2006-12-14 15:41:29 +00:00
Bernhard Reutner-Fischer
56b956952e
- minor shrinkage
2006-12-14 11:27:58 +00:00
Denis Vlasenko
f7b0d4a3e5
Update busybox.net webpage with 1.3.0 announcement
2006-12-14 00:22:51 +00:00
Denis Vlasenko
a883fa4cee
exterminate last bzero's
...
version bump to 1.3.0
2006-12-13 23:52:32 +00:00
Bernhard Reutner-Fischer
9729e65706
- honor CONFIG_DEBUG
2006-12-13 17:44:24 +00:00
Bernhard Reutner-Fischer
5b6f776fe9
- remove warning about unused depth parameter in add_to_dirlist()
...
- make one variable static and add comment about why the other variables there are not static.
2006-12-13 16:50:15 +00:00
Denis Vlasenko
35a4bbe74f
date: -R shouldn't use locale
2006-12-13 00:35:21 +00:00
Denis Vlasenko
5e2db5e8ee
build system: small fix for "release" target to work
2006-12-12 23:46:31 +00:00
Denis Vlasenko
5fa7148761
build system: add "release" target
...
find: support -size N (needed for above)
2006-12-12 22:31:15 +00:00
Denis Vlasenko
16c2c700fd
passwd: fix indentation
2006-12-12 18:11:58 +00:00
Denis Vlasenko
db2b52425d
passwd: added comment
2006-12-12 17:14:56 +00:00
Denis Vlasenko
900406c359
passwd: shrink by ~10 bytes, use PRNG instead of usleep.
2006-12-12 14:38:03 +00:00
Bernhard Reutner-Fischer
6f0540e7ec
- remove functions marked as LEGACY in SUSv3 and use their modern counterparts.
2006-12-12 11:50:44 +00:00
Bernhard Reutner-Fischer
32f3ebf08f
- add an anchor to let me point people to FAQ.html#standalone_shell
...
easily.
2006-12-10 13:40:16 +00:00
Denis Vlasenko
2ea630f9a5
bb_makedev: fix for glibc 2.3.2
...
sed: fix C++ style declaration
2006-12-10 02:52:19 +00:00
Denis Vlasenko
2f8f71b20d
sed: style fixes
2006-12-10 02:09:12 +00:00
Denis Vlasenko
b15b7f7a4a
more: fix for case when _FILE_OFFSET_BITS is not #defined.
...
samll size improvement.
2006-12-10 01:57:29 +00:00
Bernhard Reutner-Fischer
57d83ff5f9
- Proposed fix to make aliases work (with uClibc-current).
...
See comment in the patch about the change introduced in r16342.
2006-12-07 12:25:17 +00:00
Bernhard Reutner-Fischer
1819eee436
- Improve wording in error message.
2006-12-07 12:18:36 +00:00
Bernhard Reutner-Fischer
95da177b09
- s/:\t\t/\t/ for two helptexts.
2006-12-07 12:16:17 +00:00
Bernhard Reutner-Fischer
b7c50c9896
- remove a warning that was not ment to be checked in.
2006-12-06 23:14:31 +00:00
Bernhard Reutner-Fischer
feea1b972c
- better distinction between CFLAGS and CPPFLAGS.
2006-12-06 21:51:59 +00:00
Bernhard Reutner-Fischer
bc95f57932
- adjust to kernel's build infrastructure.
2006-12-06 15:29:00 +00:00
Bernhard Reutner-Fischer
882e60c442
- shrink less.
...
01a: svn version
01b: merge past_eof and inp_stdin into flags.
01c: merge match_backwards into flags.
01d: add handling of <HOME> and <END> keys, remove set_tty_raw, use fflush_stdout_and_exit
01e: rewrite special-key handling to be smaller.
01f: changing the format saves 4 bytes (alot of places would benefit from this)
text data bss dec hex filename
9034 8 648 9690 25da less.o.01a
9023 8 640 9671 25c7 less.o.01b
9027 8 636 9671 25c7 less.o.01c
9068 8 636 9712 25f0 less.o.01d
8990 8 636 9634 25a2 less.o.01e
8986 8 636 9630 259e less.o.01f
2006-12-04 16:04:50 +00:00
Bernhard Reutner-Fischer
bbda98f14c
- cosmetic change to avoid warnings about eventual padding/packing.
2006-12-04 15:58:27 +00:00
Bernhard Reutner-Fischer
bb59f02218
- make sure we pickup the correct defines. Guards against 2.6.19 kernel-headers.
2006-12-04 15:57:17 +00:00
Bernhard Reutner-Fischer
91d4a2dac3
- commentary typo
2006-12-02 20:47:36 +00:00
Denis Vlasenko
1375bc7b67
sed: fix handling of files not ending in '\n'
2006-12-02 20:12:12 +00:00
Denis Vlasenko
8b22b07bc5
sed: improve handling of NULs
2006-12-02 17:58:10 +00:00
Denis Vlasenko
becd8c538c
passwd: made smaller by ~130 bytes. size can go negative
...
if current trend will continue ;)
2006-12-01 21:34:20 +00:00
Bernhard Reutner-Fischer
732268fe69
- provide central knob to turn off RPC related options.
2006-12-01 16:56:12 +00:00
Denis Vlasenko
4c87d4f242
passwd: micro-optimization
2006-11-30 23:13:59 +00:00
Denis Vlasenko
eb98be02ac
"kernel config" -> "busybox config"
...
suggested by Roberto A. Foglietta <roberto.foglietta@gmail.com>
2006-11-30 22:40:32 +00:00
Denis Vlasenko
93f6aa6bca
"make bigdata" biggest offender dealt with:
...
xmalloc 16Kb buffer instead of keeping it in bss
2006-11-30 21:11:01 +00:00
Denis Vlasenko
610c4aa197
ed: convert style to bbox's. No code changes.
2006-11-30 20:57:50 +00:00
Denis Vlasenko
002526481e
passwd: small size optimization. salt generation improved
...
(really generated different salts even if called back-to-back).
2006-11-30 20:41:28 +00:00
Denis Vlasenko
ab24e18c7a
passwd: rework:
...
* do not make backup copy by copying (just retain old file)
* correctly fall back to /etc/passwd if user is not in shadow
* fix bug with overlong passwd entries
* be permissive on some kinds of failures
* reduce stack usage
* code size: -500 bytes
2006-11-30 16:41:15 +00:00
Bernhard Reutner-Fischer
b8bb27c7ea
- save 4 bytes
...
text data bss dec hex filename
764 0 80 844 34c vlock.o.oorig
760 0 80 840 348 vlock.o
2006-11-30 14:53:51 +00:00
Denis Vlasenko
28bb84bd4e
Well, I am not 100.00% usre that uint16 will suffice there.
...
We don't lose anything by using 'unsigned' instead.
2006-11-29 23:15:04 +00:00
Denis Vlasenko
016a82e279
another -90 bytes. That #define is **evil**
2006-11-29 22:47:42 +00:00
Denis Vlasenko
66b86c6902
mkfs.minix: more cleanups, -~300 bytes of code.
...
Added debugging support.
2006-11-29 22:33:47 +00:00
Denis Vlasenko
c6ce8733dd
cut 0.5k off mkfs.minix
...
assorted strtoul fixes (that's what brought me into minix)...
2006-11-29 18:15:52 +00:00