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 |
|
Bernhard Reutner-Fischer
|
56b956952e
|
- minor shrinkage
|
2006-12-14 11:27:58 +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 |
|
Bernhard Reutner-Fischer
|
91d4a2dac3
|
- commentary typo
|
2006-12-02 20:47:36 +00:00 |
|
Denis Vlasenko
|
2425bdce34
|
od: fix buglet in --traditional, microoptimization,
document coreutils bug
bloat-o-meter: account for objects in rodata too
|
2006-11-29 14:32:01 +00:00 |
|
Denis Vlasenko
|
c61852a02b
|
fix support for globally disabling --long-options.
(disabling them saves ~4K on fully configured bbox)
|
2006-11-29 11:09:43 +00:00 |
|
Denis Vlasenko
|
601ae1378b
|
od: sometime ago I landed BIG od implementation
from coreutils. My fault. This commit contains
cleanups and size reductions.
|
2006-11-28 23:37:46 +00:00 |
|
Denis Vlasenko
|
d9e15f2068
|
style cleanup: return(a) -> return a, part 2
|
2006-11-27 16:49:55 +00:00 |
|
Denis Vlasenko
|
079f8afa0a
|
style cleanup: return(a) -> return a, part 1
|
2006-11-27 16:49:31 +00:00 |
|
Denis Vlasenko
|
459903bd4e
|
Provide our own isdigit macro. saves more than 400 bytes.
|
2006-11-27 14:44:18 +00:00 |
|
Denis Vlasenko
|
d686a045c8
|
safe_strtoXX interface proved to be a bit unconvenient.
Remove it, introduce saner bb_strtoXX.
Saved ~350 bytes.
|
2006-11-27 14:43:21 +00:00 |
|
Denis Vlasenko
|
664733f1a3
|
sort: two small optimizations
|
2006-11-26 15:48:54 +00:00 |
|
Denis Vlasenko
|
0d42ddff70
|
sort: reformat entire file wrt style.
fix single obvious bug: right hand was 0 here:
flags & (FLAG_b&FLAG_d&FLAG_f&FLAG_i&FLAG_bb)
fixed to use |
|
2006-11-26 15:48:03 +00:00 |
|
Denis Vlasenko
|
cf749bc10c
|
small fixes:
fix xstrdup to not grossly overallocate memory
use xopen instean of xopen3 in several places
etc.
|
2006-11-26 15:45:17 +00:00 |
|
Denis Vlasenko
|
2d27e4ccbb
|
tee: fix bug: argv[-1] is a no-no!
bb_full_fd_action: optimize
die_if_ferror: "<applet>: filename" isn't a good err msg, add "..I/O error"
|
2006-11-25 23:50:28 +00:00 |
|
Denis Vlasenko
|
5dd27b1ee0
|
dd: support >2gb values for seek, skip, count
|
2006-11-25 14:46:21 +00:00 |
|
Denis Vlasenko
|
cf30cc82a3
|
header_verbose_list: stop truncating file size in listing
|
2006-11-24 14:53:18 +00:00 |
|
Denis Vlasenko
|
14621929a1
|
md5sum: make -c grok formats like "68b329da9893e34099c7d8ad5cb9c940 *foo".
Also eradicate 95 bytes of bloat.
|
2006-11-23 15:59:12 +00:00 |
|
Denis Vlasenko
|
5d148e2646
|
httpd: fix cgi-bin/index.cgi support, add example of it,
stat: fix end-of-line if format is specified (wasn't printing it),
fix %z (time) format to match coreutils 6.3
|
2006-11-21 00:12:09 +00:00 |
|
Denis Vlasenko
|
fcdb00f735
|
httpd: LC_TIME locale _must_ be POSIX to httpd! We speak over the net!
|
2006-11-21 00:09:37 +00:00 |
|
Denis Vlasenko
|
22dcd04f8f
|
mkdir: style fix
|
2006-11-19 13:53:50 +00:00 |
|
Denis Vlasenko
|
89f0b3486d
|
rodata cleanup. "unable to" == "cannot". -300 bytes
|
2006-11-18 22:04:09 +00:00 |
|
Bernhard Reutner-Fischer
|
e766715032
|
- end may be used uninitialized.
- TODO: should eventually use skip_whitespace there
|
2006-11-17 11:28:00 +00:00 |
|
Denis Vlasenko
|
9225854144
|
mostly style fixes
|
2006-11-01 10:25:35 +00:00 |
|
Denis Vlasenko
|
3b8ff68ec8
|
dd: fix bugs: always assumed conv=sync, died on write errors
w/o perror and statictics. Several small improvements
|
2006-10-31 15:55:56 +00:00 |
|
Denis Vlasenko
|
656f746e74
|
ls: silly comment fixes
|
2006-10-28 13:02:55 +00:00 |
|
Denis Vlasenko
|
8c0c119130
|
chmod: typo in comments
|
2006-10-28 12:42:40 +00:00 |
|
Denis Vlasenko
|
94cf69fe3e
|
ls: cleanup part 2. ifdef forest is much less scary now :)
|
2006-10-28 12:37:51 +00:00 |
|
Denis Vlasenko
|
5c7596058d
|
ls: cleanup part 1
|
2006-10-28 12:37:16 +00:00 |
|
Denis Vlasenko
|
8c35d65c43
|
recursive_action: add depth param
chmod: match coreutils versus following links
|
2006-10-27 23:42:25 +00:00 |
|
Denis Vlasenko
|
e80e2a3660
|
chgrp: just call chown! :)
|
2006-10-27 23:28:38 +00:00 |
|
Denis Vlasenko
|
51b4c92f80
|
chown: add -vcf support if CONFIG_DESKTOP
chmod: stop following symlinks
|
2006-10-27 16:07:20 +00:00 |
|
Denis Vlasenko
|
fefb279ace
|
chmod: support -vcf if CONFIG_DESKTOP
|
2006-10-27 15:13:54 +00:00 |
|
Denis Vlasenko
|
dca0b707c0
|
reshuffle libbb.h contents so that order of decls makes sense
Found bad typo in largefile support :)
|
2006-10-27 09:05:02 +00:00 |
|
Denis Vlasenko
|
621204bbf6
|
get_terminal_width_height: do not pass insanely large values
|
2006-10-27 09:03:24 +00:00 |
|
Denis Vlasenko
|
d3d004dd35
|
last nail into error_msg() (de)capitalization
|
2006-10-27 09:02:31 +00:00 |
|
Denis Vlasenko
|
2fe7b73d99
|
...and yet another small fix. Ouch...
|
2006-10-26 23:39:04 +00:00 |
|
Denis Vlasenko
|
ddec5af6b0
|
rename functions to more understandable names
|
2006-10-26 23:25:17 +00:00 |
|
Denis Vlasenko
|
f0ed376eda
|
remove bb_printf and the like
|
2006-10-26 23:21:47 +00:00 |
|
Denis Vlasenko
|
c6f188def8
|
silly size savings and capitalization fixes
|
2006-10-26 00:37:00 +00:00 |
|
Denis Vlasenko
|
703aa13ff5
|
watch: fix warning
getty: fix breakage; fix excessive stack usage
|
2006-10-23 22:43:02 +00:00 |
|
Denis Vlasenko
|
f24e1f40e0
|
cp: add support for -s, -l. Fix free(nonmalloc) bug.
Add doc on POSIX's rules on -i and -f (insane!).
ln: make "ln dangling_symlink new_link" work.
|
2006-10-21 23:40:20 +00:00 |
|
Denis Vlasenko
|
8d73c35916
|
watch: execute command thru shell, not fork/exec. Other fixes
|
2006-10-20 23:48:30 +00:00 |
|
Denis Vlasenko
|
e1a0d486e4
|
message string changes, mostly for consistency, also -32 bytes in .rodata
|
2006-10-20 13:28:22 +00:00 |
|
Denis Vlasenko
|
ea62077b85
|
add open_read_close() and similar stuff
|
2006-10-14 02:23:43 +00:00 |
|
Denis Vlasenko
|
2d5ca60bfb
|
bb_get_[chomped]line_from_file wasn't descriptive enough.
Renaming...
|
2006-10-12 22:43:20 +00:00 |
|
Denis Vlasenko
|
372686bde7
|
cut, mount: small improvements
|
2006-10-12 22:42:33 +00:00 |
|
Denis Vlasenko
|
1114de7219
|
od: provide full-blown od from coreutils if CONFIG_DESKTOP
|
2006-10-10 23:26:05 +00:00 |
|
Denis Vlasenko
|
ca3c981c07
|
start_stop_daemon: add -N <nice> compat
[re]nice: add support for -nNNN w/o spaces, -NNN (nice only),
simplified code
|
2006-10-08 23:36:17 +00:00 |
|