Eric Andersen
b077c9f47d
Fixup buffer allocation
2002-12-06 21:39:48 +00:00
Aaron Lehmann
a170e1c858
Change if(x)free(x); to free(x);
2002-11-28 11:27:31 +00:00
Glenn L McGrath
eaed78a91f
Style
2002-11-28 11:05:28 +00:00
Glenn L McGrath
cdf142af90
Woops, forgot they printout applet name as well....
2002-11-28 10:58:19 +00:00
Glenn L McGrath
d7d5f42934
Use error_msg instead of fprintf(stderr
2002-11-28 09:34:51 +00:00
Glenn L McGrath
8e027f6474
Use printf instead of fprintf(stdout
2002-11-28 08:37:46 +00:00
Glenn L McGrath
822e7fd587
When making parent directories set permissions based on the base parent tree rather than the new directory to be created.
2002-11-24 22:48:20 +00:00
Glenn L McGrath
e16860df08
Will the real od.c please stand up! (my previous commit was a mistake)
2002-11-10 22:16:09 +00:00
Glenn L McGrath
59870e89ae
Prevent a segfault if no argument, by Geoffrey Lee <glee@bluesat.unsw.edu.au>
2002-11-10 21:52:59 +00:00
Eric Andersen
d274b53c1d
last_patch59 from vodz to cleanup chmod and correctly parse '-rwxgoa'
2002-10-10 03:47:01 +00:00
Eric Andersen
02e6ba91e8
Vodz' last_patch57:
...
Hi, Erik.
my_getpw(uid/gid) and applets used it have problem:
if username for uid not found, applets can`t detect it
(but code pessent). Also "%8ld " format is bad:
spaces not required (applets have self format
or spec format (tar applet) and overflow for "id" applet...)
This problem also pressent in stable version.
Patch for unstable in attach.
--w
vodz
2002-09-30 20:39:56 +00:00
Glenn L McGrath
924f93e848
make_directory() will fail instantly so we dont need to test for failure here
2002-09-28 08:32:14 +00:00
Eric Andersen
60943c5d5c
Sane-ify the screen clearing stuff.
...
-Erik
2002-09-17 20:53:41 +00:00
Glenn L McGrath
18b76e6f80
Watch applet by Michael Habermann
2002-09-16 09:10:04 +00:00
Aaron Lehmann
5d3cb7cc1f
move some globals to bss
2002-08-23 07:28:45 +00:00
Glenn L McGrath
acfc0d872e
Run through indent, fix comments
2002-08-23 06:05:11 +00:00
Glenn L McGrath
03195fc16f
Run through indent, fix comments
2002-08-23 05:58:38 +00:00
Glenn L McGrath
a199b17253
Run through indent, specify cast
2002-08-23 03:37:07 +00:00
Glenn L McGrath
14dad7028b
Run through indent
2002-08-23 03:25:22 +00:00
Glenn L McGrath
e3906fcd94
Run through indent, fix BB_ define
2002-08-22 18:13:54 +00:00
Robert Griebl
6859d761d3
- updated a few copyright/left file headers
...
- documented most of my 0.61 changes in the ChangeLog
2002-08-05 02:57:12 +00:00
Robert Griebl
df03932b7e
Added the -I (isofmt) options to date, which comes in handy for scripts
...
(this is a confiureable option)
2002-07-30 23:11:00 +00:00
Robert Griebl
d378c3149c
Applied vodz' patches #49 and #50 (with a small correction in runshell.c)
...
#49 : I found one memory overflow and memory leak in "ln" applet.
Last patch reduced also 54 bytes. ;)
#50 : I found bug in loginutils/Makefile.in.
New patch have also new function to libbb and
aplied this to applets and other cosmetic changes.
2002-07-19 00:05:54 +00:00
Eric Andersen
2276d83639
Fixup warnings and undefined operations that show up in gcc-3.1
...
-Erik
2002-07-11 11:11:56 +00:00
Eric Andersen
887ca79f04
Scrub pwd.h and grp.h handling so we don't have to play any
...
silly games.
-Erik
2002-07-03 23:19:26 +00:00
Eric Andersen
009ae1f17d
Little fix to avoid overflow
2002-07-03 04:24:08 +00:00
Aaron Lehmann
69d4178708
Remove advertising clauses in accordance with
...
ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change
2002-06-23 22:25:24 +00:00
Eric Andersen
b0fd2b06a3
Fix a potential macro expansion problem... isspace can be
...
a macro causing a double decrement...
2002-06-15 14:37:46 +00:00
Eric Andersen
a7d0b41c08
Don't use pointless GNU-isms
2002-06-15 14:33:06 +00:00
Eric Andersen
fc059090b6
last_patch41 from vodz to fix stty -F and similar
2002-06-06 11:35:29 +00:00
Manuel Novoa III
b99cb64b80
Include busybox.h before testing CONFIG_LOCALE_SUPPORT.
2002-05-29 19:08:41 +00:00
Robert Griebl
53146cc9ec
Added include for isdigit(); simplified -<num> detection
2002-05-27 22:24:53 +00:00
Robert Griebl
13c26fc1a5
SUpport old style -[::digit::] options for head and tail
...
Also make head behave like GNU head (-0/-n 0 is valid)
2002-05-17 22:18:04 +00:00
Tim Riker
95bf6da637
fix and shrink uuencode
2002-05-01 05:57:16 +00:00
Eric Andersen
d598d41110
Fix silly combinitorial oversight
2002-04-27 09:19:39 +00:00
Eric Andersen
ef38b39262
Support noerror option
2002-04-27 01:31:43 +00:00
Eric Andersen
00a6a75035
Add the who applet, supplied by Da Chen <dchen@ayrnetworks.com>
2002-04-26 23:53:10 +00:00
Eric Andersen
5f6873621d
ls could mis-color certain entries when previous commands
...
had failed. Explicitly 0 out errno to prevent that.
2002-04-17 20:21:45 +00:00
Eric Andersen
1d1d2f9b18
Update some missing copyright notices
2002-04-13 08:31:59 +00:00
Eric Andersen
265d229427
Patch from Edward Betts <edward@debian.org> to add -x switch to du.c
2002-04-06 23:16:44 +00:00
Eric Andersen
fcffa2cc1a
Apply lash_patch35 from vodz, which brings several nice size_optimizations.
2002-04-06 05:17:57 +00:00
Manuel Novoa III
fa15f702d2
Work around compiler/assembler problem and reduce code size at the same time.
2002-03-25 02:37:20 +00:00
Eric Andersen
27eff033d2
Eliminate extra trailing space
2002-03-20 16:10:54 +00:00
Eric Andersen
3ad0bd9563
Patch from J.W.Janssen <JanWillem.Janssen@lxtreme.nl> to provide
...
color ls support, modifed by me to behave properly when not running
output to a terminal (i.e. 'ls | more')
-Erik
2002-03-20 09:13:48 +00:00
Matt Kraai
a1bbde71bf
list_single: Declare scratch iff CONFIG_FEATURE_LS_USERNAME is defined.
2002-03-08 16:25:33 +00:00
Matt Kraai
3bd31ebc9a
* fileutils/ls.c (showfiles): Display multiple short names on a line.
2002-03-08 16:16:38 +00:00
Matt Kraai
eb83478528
* fileutils/dd.c (dd_main): Ignore ftruncate error if the output is not a
...
file or directory.
2002-02-05 15:28:54 +00:00
Matt Kraai
1f0c43668a
Remove == TRUE' tests and convert
!= TRUE' and `== FALSE' tests to use !.
2001-12-20 23:13:26 +00:00
Matt Kraai
38c15becf6
Avoid printing a trailing blank character.
2001-12-20 21:11:59 +00:00
Matt Kraai
ace02dc9cd
Make cp and mv optionally preserve hard links.
2001-12-17 15:26:36 +00:00