Denis Vlasenko
fe7cd642b0
don't pass argc in getopt32, it's superfluous
...
(add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes
text data bss dec hex filename
773469 1058 11092 785619 bfcd3 busybox_old
772644 1058 11092 784794 bf99a busybox_unstripped
2007-08-18 15:32:12 +00:00
Denis Vlasenko
5f1b149d54
syslogd,logread: get rid of head pointer, fix logread bug in the process
...
function old new delta
logread_main 450 462 +12
syslogd_main 1246 1252 +6
shbuf - 4 +4
buf 34 30 -4
packed_usage 22729 22724 -5
log_locally 957 767 -190
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/3 up/down: 22/-199) Total: -177 bytes
text data bss dec hex filename
773886 1116 11316 786318 bff8e busybox_old
773714 1116 11316 786146 bfee2 busybox_unstripped
2007-08-12 21:33:06 +00:00
Denis Vlasenko
b6adbf1be2
usage.c: remove reference to busybox.h
...
*: s/include "busybox.h"/include "libbb.h"
2007-05-26 19:00:18 +00:00
Denis Vlasenko
06af216528
suppress warnings about easch <applet>_main() having
...
no preceding prototype
2007-02-03 17:28:39 +00:00
Denis Vlasenko
085231fbba
code shrinkage by Bernhard Fischer <rep.nop@aon.at>
2007-01-10 22:35:54 +00:00
Denis Vlasenko
a9b60e93ee
new libbb func: xmalloc_realpath (+ use it where makes sense)
...
syslogd, logread: add debugging code (disabled)
syslogs: drastically smaller bss; fix "-C n" behaviour
2007-01-04 17:59:59 +00:00
Denis Vlasenko
b95636c52f
remove casts from xmalloc()
2006-12-19 23:36:04 +00:00
Rob Landley
88621d7398
Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damage
...
(the e2fsprogs directory is too twisty and evil to easily fix, but I plan
to rewrite it anyway so I'll just bump that up in priority a bit).
2006-08-29 19:41:06 +00:00
"Robert P. J. Day"
eea561871b
"formated" -> "formatted" throughout the code base.
2006-07-20 19:02:24 +00:00
Bernhard Reutner-Fischer
d04e9b8130
- shrink logread a bit.
...
text data bss dec hex filename
862 26 188 1076 434 logread.o.orig
825 26 188 1039 40f logread.o
2006-06-01 14:36:14 +00:00
Rob Landley
dfba741457
Robert P. Day removed 8 gazillion occurrences of "extern" on function
...
definitions. (That should only be on prototypes.)
2006-03-06 20:47:33 +00:00
Tim Riker
c1ef7bdd8d
just whitespace
2006-01-25 00:08:53 +00:00
Rob Landley
10fb2b71f3
Flush output to log promptly (bug 389).
2005-12-12 07:04:59 +00:00
Eric Andersen
c7bda1ce65
Remove trailing whitespace. Update copyright to include 2004.
2004-03-15 08:29:22 +00:00
Eric Andersen
d4a5e255c4
Patch from Fillod Stephane:
...
You will find in the attached file "syslog.patch" a patch which adds
config options to set at compile time the size of the circular buffer,
and some documentation update.
2003-12-19 11:32:14 +00:00
Glenn L McGrath
f7dd10f67c
Patch from Fillod Stephane
...
Add follow mode to logread, ala "tail -f /var/log/messages"
Note: output to a slow serial terminal can have side effects
on syslog because of the semaphore. In such case, define
RC_LOGREAD.
2003-09-26 01:03:16 +00:00
Eric Andersen
85e5e72bc1
Remove remaining libc5 support code
2003-07-22 08:56:55 +00:00
Manuel Novoa III
cad5364599
Major coreutils update.
2003-03-19 09:13:01 +00:00
Glenn L McGrath
6ed77595f1
Update email address for Gennady Feldman <gena01@gena01.com>
2002-12-12 10:54:48 +00:00
Eric Andersen
bdfd0d78bc
Major rework of the directory structure and the entire build system.
...
-Erik
2001-10-24 05:00:29 +00:00
Eric Andersen
b6b519b416
Update how we detect if libc5 is in use.
...
-Erik
2001-04-09 23:52:18 +00:00
Eric Andersen
8ffaf8d139
-Wshadow logread fix from Jeff Garzik
2001-03-23 17:04:47 +00:00
Mark Whitley
b0c2b7dfe3
dos2unix logread.c
2001-03-15 19:05:59 +00:00
Eric Andersen
a8035a51be
Move the warning msg after features.h gets pulled in.
...
-Erik
2001-03-15 18:20:23 +00:00
Mark Whitley
2892c35bdb
Applied patch from Giulio Orsero to fix some preprocessor bugs.
2001-03-14 17:18:52 +00:00
Eric Andersen
c319601db5
Some updates for libc5
2001-03-14 01:15:06 +00:00
Mark Whitley
6bff9cc487
Added some comment lines in the header indicating that Gennady Feldman is the
...
maintainer of these three applets.
2001-03-12 23:41:34 +00:00
Mark Whitley
6317c4baf7
Applied patch from Gennady Feldman to split up syslogd.c into syslogd and
...
klogd (as it should be).
2001-03-12 22:51:50 +00:00