d9d47c3078
Patch from Konstantin Isakov <ikm@pisem.net>: In most cases, dirname returns the same argument it was given, so this code works nice, but there's one special case: when the name contains no dirname, it returns "." (stored statically in the body of itself), and we get a segfault in attempt to free() it. This patch fixes this problem.
Eric Andersen
2002-09-30 20:14:57 +00:00
aa1d6ccbfb
Don't even try to run ash on uClinux. It won't work. -Erik
Eric Andersen
2002-09-30 20:12:32 +00:00
6a9799020b
Set the close-on-exec flag, just to be saf
Eric Andersen
2002-09-30 20:08:53 +00:00
e4d2a43951
Doh. We divide microseconds by 60?
Eric Andersen
2002-09-30 19:37:48 +00:00
5c99581880
Save status so we know if to delete compressed file
Glenn L McGrath
2002-09-30 05:30:29 +00:00
924f93e848
make_directory() will fail instantly so we dont need to test for failure here
Glenn L McGrath
2002-09-28 08:32:14 +00:00
891ee641cb
Fail straight away rather than recursively printing error messages :)
Glenn L McGrath
2002-09-28 08:30:47 +00:00
8132e933e6
Fix for using '-' as the filename when reading from stdin
Glenn L McGrath
2002-09-28 02:06:39 +00:00
2e41d0cb77
Fix compress support and prevent a segfault
Glenn L McGrath
2002-09-27 06:46:02 +00:00
a47a3eada6
Fix simple define problem
Glenn L McGrath
2002-09-26 16:01:21 +00:00
6f2ebcaa01
Avoid calling exit() from within fork/vfork'ed processes. -Erik
Eric Andersen
2002-09-26 13:59:40 +00:00
a920871c3a
Ignoring SIGCHLD causes a race leading to the occasional hang of init when init will wait() on itself in waitfor() when the child exits before init is scheduled to run. Letting init hang is very seriously bad. -Erik
Eric Andersen
2002-09-25 15:08:40 +00:00
5a66b640f9
Reverse some minor changes that got caught up in my big unarchive patch
Glenn L McGrath
2002-09-25 06:08:19 +00:00
69eab26401
Remove files made obsolete by new unarchiving code
Glenn L McGrath
2002-09-25 03:04:03 +00:00
7ca04f328e
New common unarchive code.
Glenn L McGrath
2002-09-25 02:47:48 +00:00
ecfa290cfd
Fixup largefile settings -Erik
Eric Andersen
2002-09-22 12:09:44 +00:00
b3f7261ffe
Fix error messages conditions, and make them the same as GNU mkdir.
Glenn L McGrath
2002-09-22 02:12:30 +00:00
3a1d8377ab
don't leak FILEs
Eric Andersen
2002-09-20 07:33:18 +00:00
19feada06f
update the noise a tiny bit
Eric Andersen
2002-09-18 20:52:26 +00:00
7695b7b5f4
Update webpage
Eric Andersen
2002-09-18 20:48:20 +00:00
d499330e9e
Commit vodz's patch, plus a tweak to change TracePid to TracerPid. Now works on i386 (2.4.19) and arm (2.4.6).
Manuel Novoa III
2002-09-18 19:27:10 +00:00
06c35da6af
patch from John Hall <john.hall@optionexist.co.uk> to change the klogd specific messages to facility LOG_SYSLOG and tidies up some of the priorities.
Eric Andersen
2002-09-18 14:23:06 +00:00
420b208a45
Add a new top applet -Erik
Eric Andersen
2002-09-17 22:14:58 +00:00
793c3b4a7d
Clear screen too.
Eric Andersen
2002-09-17 21:21:27 +00:00
dc180d1442
re-enable the cursor, in case it got disabled -Erik
Eric Andersen
2002-09-17 21:17:35 +00:00
6c32a8add4
Modified so that it "works" for archs other than i386... arm in particular. Also tried to clean up the logic a little, and ensure that read errors or invalid archives resulted in error returns. This could use a lot more work... Volunteers?
Manuel Novoa III
2002-09-17 21:02:16 +00:00
60943c5d5c
Sane-ify the screen clearing stuff. -Erik
Eric Andersen
2002-09-17 20:53:41 +00:00
39ad2833c0
hehe.
Eric Andersen
2002-09-17 20:35:58 +00:00
871d93c462
Vodz' last_patch57: Ok. Patch with reduce size ready. Notes: syslogd imposible close logsocket, the real programm write logmessages (hmm, cycle loop?)
Eric Andersen
2002-09-17 20:06:29 +00:00
927c3bdc18
Support setting depth
Eric Andersen
2002-09-17 08:44:56 +00:00
a9a220b92a
last_patch56 from vodz to simplify copy_file logic
Eric Andersen
2002-09-17 08:42:21 +00:00
7365c58783
Use "MiB" not "Mb" -Erik
Eric Andersen
2002-09-17 06:36:56 +00:00
bdff6a4c59
Typo fix from Steven Merrifield
Eric Andersen
2002-09-17 05:43:26 +00:00
d4ee98940b
last_patch55 from vodz: I found overflow problem in xargs applet (allocated not space for trailing '\0'). Last patch also reduce 22 bytes size. ;)
Eric Andersen
2002-09-16 10:44:24 +00:00
02b8dfc524
Let people force overwrite links -Erik
Eric Andersen
2002-09-16 10:23:38 +00:00
403a73a351
Properly honor FILEUTILS_INTERACTIVE and FILEUTILS_FORCE for file all file types (not just regular files and dirs). Unlink destination files when needed. -Erik
Eric Andersen
2002-09-16 09:23:22 +00:00
18b76e6f80
Watch applet by Michael Habermann
Glenn L McGrath
2002-09-16 09:10:04 +00:00
8fede28c74
Patch from Matthias Lang <matthias@corelatus.se> to fix gunzip error handling and prevent gunzip from hanging.
Eric Andersen
2002-09-16 07:25:41 +00:00
a9cc8961ed
Let people run SHUTDOWN actions prior to killing everything -Erik
Eric Andersen
2002-09-16 06:49:06 +00:00
2a1eb31f18
Yipe. uid and gid were reversed. -Erik
Eric Andersen
2002-09-10 05:23:29 +00:00
2bec97c076
Some CML1 grammar fixes -Erik
Eric Andersen
2002-09-01 06:45:55 +00:00
1130976f8e
Eliminate use of obsolete sys_errlist[] -Erik
Eric Andersen
2002-08-26 21:36:32 +00:00
c3b7f7d6e7
chmod on the NEW file
Glenn L McGrath
2002-08-26 17:17:27 +00:00
193697db4e
Dont return an error if the directory already existed
Glenn L McGrath
2002-08-24 20:11:38 +00:00
210aa14916
Fix warning
Glenn L McGrath
2002-08-24 20:00:52 +00:00
abac53b33c
Reorganise, make it just one function, remove -v option it didnt work properly anyway, dont setvbuf it doesnt make any difference in performance.
Glenn L McGrath
2002-08-24 14:32:17 +00:00
1ee52e8b14
Run through indent, use braces
Glenn L McGrath
2002-08-24 10:30:36 +00:00
933d10d308
Remove extrangeous backslashes that were probably introduced by someone joining lines and forgetting to remove the backslash escaping the newline.
Aaron Lehmann
2002-08-23 22:09:50 +00:00
fbef225c4b
Rewrite, its smaller
Glenn L McGrath
2002-08-23 17:19:26 +00:00
192ff35d9c
Remove empty loops
Glenn L McGrath
2002-08-23 14:36:59 +00:00
0be933b505
Use static instead of extern, braces around if's, run through indent
Glenn L McGrath
2002-08-23 14:31:28 +00:00
50812fff21
Apply vodz last_path_51-2
Glenn L McGrath
2002-08-23 13:14:48 +00:00
de9e803149
Apply vodz last_patch51_2 and run through indent
Glenn L McGrath
2002-08-23 12:04:23 +00:00
e599b6d96e
Don't #ifdef __linux__. this is linux.
Aaron Lehmann
2002-08-23 07:56:21 +00:00
9fef17dec3
Run through indent, fix comments
Glenn L McGrath
2002-08-22 18:41:20 +00:00
7c58e9be69
Run through indent, fix comment
Glenn L McGrath
2002-08-22 18:24:43 +00:00
baf55a85fc
Run through indent, fix comments
Glenn L McGrath
2002-08-22 18:22:10 +00:00
e3906fcd94
Run through indent, fix BB_ define
Glenn L McGrath
2002-08-22 18:13:54 +00:00
99b12543cf
Run through ident, fix comments
Glenn L McGrath
2002-08-22 17:47:09 +00:00
242e3b6bde
define inline if needed for ANSI C compatability
Glenn L McGrath
2002-08-22 15:59:18 +00:00
60a22addea
Remove unwanted comments, run through indent
Glenn L McGrath
2002-08-22 15:54:22 +00:00
a0ee881ba4
Run through indent, use /* */ style comments, change extern to static
Glenn L McGrath
2002-08-22 13:44:08 +00:00
4176972db5
Run through indent, use /* */ style comments
Glenn L McGrath
2002-08-22 13:25:12 +00:00
d827e8b665
Run through indent
Glenn L McGrath
2002-08-22 13:21:26 +00:00
b37367aa77
Run through indent, use /* */ style comments instead of //
Glenn L McGrath
2002-08-22 13:12:40 +00:00
f853db54f9
Remove definition of is_octal and is_decimal, they arent used
Glenn L McGrath
2002-08-22 12:55:26 +00:00
75762705a3
Honour the USTAR prefix field, this enables a 155 byte path length plus the normal 100 byte filename. The catch is gnu tar cannot create archives that use the prefix field, you need to use s-tar.
Glenn L McGrath
2002-08-22 11:50:31 +00:00
419eed7501
udhcpc sample scripts
Glenn L McGrath
2002-08-21 14:24:38 +00:00
5f8f32a41c
Inline functions with only one reference in mkfs_minix. I don't know why these efforts aren't making the binary smaller.
Aaron Lehmann
2002-08-21 13:21:20 +00:00
8fc5d6d2da
Tar inlining, #if 0 out unused function
Aaron Lehmann
2002-08-21 13:11:34 +00:00
6fdacc74f0
vi inlining
Aaron Lehmann
2002-08-21 13:02:24 +00:00
a95e99e6f3
Cleanups. These SHOULD make the binary a lot smaller. But they don't. CURSE GCC
Aaron Lehmann
2002-08-21 12:44:54 +00:00