On Friday, June 01, 2007 2:06 PM, [EMAIL PROTECTED] wrote:
> Is this a known bug? Thanks!
>
> Jari
The bug appears to be in logread. I can read all the messages in the shared
memory segment by specifying the shmid and using a simple perl program. logread
only returns 6279 bytes, the following perl code returns the full log buffer.
# logread | wc
58 1015 6279
# perl | wc
$SHM_MAX = 16384;
$id = 0;
shmread $id, $message, 0, $SHM_MAX;
print "\n$message\n";
151 2659 16386
# ps ax | grep syslog
373 ? Ss 0:01 /sbin/syslogd -m 0 -C16
Regards,
Jari
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox