aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/logread.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *: suppress ~60% of "aliased warnings" on gcc-4.4.1Denys Vlasenko2010-02-041-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: introduce and use ffulsh_all()Denys Vlasenko2009-11-021-1/+1
| | | | | | | | | | | | | | | | | | | | function old new delta buffer_fill_and_print 179 196 +17 fflush_all - 9 +9 spawn 87 92 +5 rtcwake_main 455 453 -2 ... alarm_intr 93 84 -9 readcmd 1072 1062 -10 bb_ask 345 333 -12 more_main 845 832 -13 flush_stdout_stderr 42 23 -19 xfflush_stdout 27 - -27 flush_stderr 30 - -30 ------------------------------------------------------------------------------ (add/remove: 1/2 grow/shrink: 2/50 up/down: 31/-397) Total: -366 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: rename ATTRIBUTE_XXX to just XXX.Denis Vlasenko2008-07-051-3/+3
|
* whitespace fixes. no code changesDenis Vlasenko2008-06-251-4/+3
|
* logger: "clean up" a dirty hack a bitDenis Vlasenko2008-06-111-0/+1
|
* - use EXIT_{SUCCESS,FAILURE}. No object-code changesBernhard Reutner-Fischer2008-05-191-1/+1
|
* more of -Wall fixes from Cristian Ionescu-Idbohrn.Denis Vlasenko2008-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some are fixing real bugs. function old new delta syslogd_main 938 958 +20 get_signum 136 143 +7 obj_load 777 782 +5 recv_from_to 210 214 +4 get_next_block 1795 1799 +4 display_topmem_process_list 1117 1121 +4 logread_main 484 487 +3 buffer_fill_and_print 73 76 +3 kill_main 687 689 +2 ll_remember_index 240 241 +1 do_stats 452 453 +1 if_readconf 166 165 -1 display_process_list 1192 1191 -1 run_applet_and_exit 507 505 -2 print_signames 33 31 -2 parse_one_line 1092 1090 -2 find_out_spec 57 55 -2 add_ksymoops_symbols 421 419 -2 ash_main 1407 1402 -5 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 11/8 up/down: 54/-17) Total: 37 bytes
* *: add -Wunused-parameter; fix resulting breakageDenis Vlasenko2008-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta procps_scan 1265 1298 +33 aliascmd 278 283 +5 parse_file_cmd 116 120 +4 dname_enc 373 377 +4 setcmd 90 93 +3 execcmd 57 60 +3 count_lines 72 74 +2 process_command_subs 340 339 -1 test_main 409 407 -2 mknod_main 179 177 -2 handle_incoming_and_exit 2653 2651 -2 argstr 1312 1310 -2 shiftcmd 131 128 -3 exitcmd 46 43 -3 dotcmd 297 294 -3 breakcmd 86 83 -3 evalpipe 353 349 -4 evalcommand 1180 1176 -4 evalcmd 109 105 -4 send_tree 374 369 -5 mkfifo_main 82 77 -5 evalsubshell 152 147 -5 typecmd 75 69 -6 letcmd 61 55 -6 add_cmd 1190 1183 -7 main 891 883 -8 ash_main 1415 1407 -8 parse_stream 1377 1367 -10 alloc_procps_scan 55 - -55 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 7/21 up/down: 54/-148) Total: -94 bytes text data bss dec hex filename 797195 658 7428 805281 c49a1 busybox_old 797101 658 7428 805187 c4943 busybox_unstripped
* logread: add forgotten INIT_G();Denis Vlasenko2007-11-231-0/+2
|
* logread: eliminate usage of data/bssDenis Vlasenko2007-11-231-7/+21
| | | | | | | | | | | | | | | | | ifup: don't remove virtual iface prefixes (eth0:0) function old new delta shbuf 4 - -4 SMrup 6 - -6 SMrdn 12 - -12 static.label_buf 20 4 -16 get_var 158 140 -18 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 0/2 up/down: 0/-56) Total: -56 bytes text data bss dec hex filename 783501 962 9260 793723 c1c7b busybox_old 783483 942 9244 793669 c1c45 busybox_unstripped
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-181-1/+1
| | | | | | | | (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
* syslogd,logread: get rid of head pointer, fix logread bug in the processDenis Vlasenko2007-08-121-44/+69
| | | | | | | | | | | | | | | | 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
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* code shrinkage by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko2007-01-101-49/+31
|
* new libbb func: xmalloc_realpath (+ use it where makes sense)Denis Vlasenko2007-01-041-75/+65
| | | | | syslogd, logread: add debugging code (disabled) syslogs: drastically smaller bss; fix "-C n" behaviour
* remove casts from xmalloc()Denis Vlasenko2006-12-191-1/+1
|
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageRob Landley2006-08-291-2/+2
| | | | | (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).
* "formated" -> "formatted" throughout the code base."Robert P. J. Day"2006-07-201-1/+1
|
* - shrink logread a bit.Bernhard Reutner-Fischer2006-06-011-22/+6
| | | | | | text data bss dec hex filename 862 26 188 1076 434 logread.o.orig 825 26 188 1039 40f logread.o
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* just whitespaceTim Riker2006-01-251-1/+1
|
* Flush output to log promptly (bug 389).Rob Landley2005-12-121-0/+1
|
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-14/+14
|
* Patch from Fillod Stephane:Eric Andersen2003-12-191-4/+3
| | | | | | 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.
* Patch from Fillod Stephane Glenn L McGrath2003-09-261-18/+68
| | | | | | | 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.
* Remove remaining libc5 support codeEric Andersen2003-07-221-7/+0
|
* Major coreutils update.Manuel Novoa III2003-03-191-1/+1
|
* Update email address for Gennady Feldman <gena01@gena01.com>Glenn L McGrath2002-12-121-2/+2
|
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-1/+1
| | | | -Erik
* Update how we detect if libc5 is in use.Eric Andersen2001-04-091-3/+1
| | | | -Erik
* -Wshadow logread fix from Jeff GarzikEric Andersen2001-03-231-9/+9
|
* dos2unix logread.cMark Whitley2001-03-151-146/+146
|
* Move the warning msg after features.h gets pulled in.Eric Andersen2001-03-151-8/+9
| | | | -Erik
* Applied patch from Giulio Orsero to fix some preprocessor bugs.Mark Whitley2001-03-141-2/+2
|
* Some updates for libc5Eric Andersen2001-03-141-1/+9
|
* Added some comment lines in the header indicating that Gennady Feldman is theMark Whitley2001-03-121-0/+2
| | | | maintainer of these three applets.
* Applied patch from Gennady Feldman to split up syslogd.c into syslogd andMark Whitley2001-03-121-0/+135
klogd (as it should be).