aboutsummaryrefslogtreecommitdiff
path: root/tests/syslog_test.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2001-06-30ls -s was reporting bytes instead of blocks.mjn32-2/+2
git-svn-id: svn://busybox.net/trunk/busybox@2957 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-30All-integer version (but it does use an unsigned long long) which fixesmjn31-47/+70
the problems of the previous version (used floating point, overflowed, didn't round properly). The comments at the top of the file are worth reading; especially note 2 concerning "ls -sh". git-svn-id: svn://busybox.net/trunk/busybox@2956 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-29A really nice patch from Manuel Novoa III for compile timeandersen2-0/+372
configurable size/speed tradeoffs. git-svn-id: svn://busybox.net/trunk/busybox@2953 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-29Add some missing includes to kill warnings when building with the defaultmjn312-0/+14
Config.h and using gcc's -fno-builtin. There are probably other files with the similar problems. Also, if building against uClibc, don't include asm/unistd.h in syscalls.c and module_syscalls.c. git-svn-id: svn://busybox.net/trunk/busybox@2950 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-29This is a busybox port of the Minix shell. It is reasonably capable,andersen2-0/+9598
handles all the basic stuff (for, case/esac, while, if/then/else), and is very small (adds just 38k on x86). It is not as rigorously correct about Bourne semantics as bash, but for most things it is quite workable. There is still some work to be done to further shrink it (it has its own globbing functions instead of using the libc ones, for example), but it is quite usable as is. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2949 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-28Fix a nasty hard to spot bug found by Ralph Siemsen <ralphs@netwinder.org>.andersen2-8/+18
This would cause it to obliterates the end of the strtab section, so symbol lookups would fail and then it would crash. Ugh. This should fix things for people having trouble with insmod. git-svn-id: svn://busybox.net/trunk/busybox@2946 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-28Allow xrealloc to act as a free() when size=0, per SuS2.andersen1-1/+11
-Erik git-svn-id: svn://busybox.net/trunk/busybox@2945 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-28Remove vodz from credits, per his requestandersen2-8/+4
git-svn-id: svn://busybox.net/trunk/busybox@2942 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-28Scrub up the licensing blockandersen2-1664/+130
-Erik git-svn-id: svn://busybox.net/trunk/busybox@2941 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-28This a an ash applet I put together. It is similar to the one putandersen3-0/+29709
together by vodz, but uses newer sources, has the removed features commented out instead of simply deleted (so they could be re-enabled) and the builtins all work. This adds 72k. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2940 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-28Remove unneeded stuff.andersen2-12/+0
git-svn-id: svn://busybox.net/trunk/busybox@2939 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-28More thrashing about trying to make hush behave itself wrt jobandersen2-32/+36
control... git-svn-id: svn://busybox.net/trunk/busybox@2934 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-27don't whine if all we need to do is remove a bg jobandersen2-2/+4
git-svn-id: svn://busybox.net/trunk/busybox@2919 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-27Fix a type promotion bug discivered and analyzed by Alan Modraandersen3-3/+3
<amodra@bigpond.net.au>, which caused false checksum errors git-svn-id: svn://busybox.net/trunk/busybox@2917 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-27Re-enable globbing (I'd accidentaly removed it) and finish off the lastandersen2-20/+448
of the job control polishing. Works fine now. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2916 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-26Explicitly call setsid()andersen2-0/+2
git-svn-id: svn://busybox.net/trunk/busybox@2915 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-26Minor formatting changeandersen2-8/+8
git-svn-id: svn://busybox.net/trunk/busybox@2914 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-26Don't choke if /etc/profile is not availableandersen2-16/+14
git-svn-id: svn://busybox.net/trunk/busybox@2913 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-26Fix ps so it doesn't waste space showing group, as it is pretty muchandersen2-36/+10
meaningless anyways. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2912 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-26Make it so we don't segfault when /proc isn't mounted -- guess pid 1...andersen1-0/+9
-Erik git-svn-id: svn://busybox.net/trunk/busybox@2911 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-26Don't use void * to pass pointers of known typeandersen3-28/+37
git-svn-id: svn://busybox.net/trunk/busybox@2910 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-26A patch from Erik Meusel <erik@wh58-709.st.uni-magdeburg.de>andersen2-0/+8
to fix the behavior of 'tail -f -n 0 FILE' git-svn-id: svn://busybox.net/trunk/busybox@2909 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-26Vladimir's last_patch_15bug115-247/+269
git-svn-id: svn://busybox.net/trunk/busybox@2905 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-26Patch from Gennady Feldmanbug12-4/+0
This should fix "circular buffer" error message shown when running "syslogd -C" git-svn-id: svn://busybox.net/trunk/busybox@2904 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-26rpm2cpio applet by Laurence Andersonbug112-12/+222
git-svn-id: svn://busybox.net/trunk/busybox@2902 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-25Fix the code for establishing a controlling terminal.andersen2-56/+84
-Erik git-svn-id: svn://busybox.net/trunk/busybox@2901 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-25Fix up some warnings that show up on ppcandersen4-4/+4
git-svn-id: svn://busybox.net/trunk/busybox@2898 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-25This should finish off the job control issues with lash. Make certainandersen2-30/+92
we have a controlling terminal... -Erik git-svn-id: svn://busybox.net/trunk/busybox@2896 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-24Nore unarchive (and doc) fixes from Laurence Andersonbug111-50/+49
git-svn-id: svn://busybox.net/trunk/busybox@2894 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-24Make the extern NUM_APPLETS be a extern const NUM_APPLETS, to matchandersen2-2/+2
the actual definition. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2892 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-23These were broken when using dmalloc due to include file orderingandersen6-38/+26
problems. busybox.h must be last. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2890 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-22Leave BB_FEATURE_NFSMOUNT disabled by default.andersen1-1/+1
-Erik git-svn-id: svn://busybox.net/trunk/busybox@2888 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-22cpio applet, and changes to associated codebug113-19/+305
git-svn-id: svn://busybox.net/trunk/busybox@2887 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-22Some more cleanups. Of special importance, never free a pipeandersen2-54/+104
that still has running jobs. Instead, we ignore it and expect it to be cleaned by the background job stuff. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2886 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-22Some cleanups for hush. Saves about 350bytes.andersen2-196/+134
-Erik git-svn-id: svn://busybox.net/trunk/busybox@2885 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-22Remove obsolete function declaration.kraai2-2/+0
git-svn-id: svn://busybox.net/trunk/busybox@2884 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-22stdlib.h defined free(), which this needsandersen1-0/+1
git-svn-id: svn://busybox.net/trunk/busybox@2883 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-22Fix the build process so it does not do the evil #ifdef BB_FOO stuff.andersen2-6/+32
Build exactly one .o file per function, and let the linker throw away the junk it doesn't want. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2882 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-22Add in a missing header fileandersen1-0/+2
git-svn-id: svn://busybox.net/trunk/busybox@2881 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-22Dont change date or chmod on symlinks, lchown on symlinks if lchown availablebug11-6/+16
git-svn-id: svn://busybox.net/trunk/busybox@2880 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-22remove defines around unarchive, its always usedbug11-2/+0
git-svn-id: svn://busybox.net/trunk/busybox@2879 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-22hehtimr1-0/+3
git-svn-id: svn://busybox.net/trunk/busybox@2878 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-22comment cleanuptimr3-4/+3
git-svn-id: svn://busybox.net/trunk/busybox@2877 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-22create_path -> make_directorytimr1-1/+1
git-svn-id: svn://busybox.net/trunk/busybox@2876 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-21Add wget -P support, finishing off bug #1176andersen5-9/+20
-Erik git-svn-id: svn://busybox.net/trunk/busybox@2874 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-21Rewrote mkdir (and touched lots of things in the process).kraai17-255/+233
git-svn-id: svn://busybox.net/trunk/busybox@2873 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-21Support tar -C, per bug #1176andersen5-19/+42
-Erik git-svn-id: svn://busybox.net/trunk/busybox@2872 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-21This commit guts lash, restoring it to what it was originally intended to do,andersen2-1164/+64
just be a simple command line interpreter with basic pipe, redirect, and job control. For all the more fancy things, people should use hush or ash. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2871 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-21Add in (and ignore) tar -p, since we preserver permissions automatically.andersen2-6/+10
closes bug #1185 -Erik git-svn-id: svn://busybox.net/trunk/busybox@2870 69ca8d6d-28ef-0310-b511-8ec308f3f277
2001-06-21Remove documentation of unsupported sed options.kraai3-6/+3
git-svn-id: svn://busybox.net/trunk/busybox@2869 69ca8d6d-28ef-0310-b511-8ec308f3f277