[syslog-ng]OpenBSD named pipe
Wed, 26 Nov 2003 09:53:28 +0100
On Tue, Nov 25, 2003 at 03:54:02PM -0700, Bobby Johnson wrote:
> Thanks for the help, I did a ktrace. I noticed this in the trace. The trace file has nothing in it until I echo something to the pipe.
> 14319 bash CALL close(0x3)
> 14319 bash RET close 0
> 14319 bash CALL ioctl(0,TIOCGETA,0xcfbfd350)
> 14319 bash RET ioctl -1 errno 45 Operation not supported
> 14319 bash CALL lseek(0,0,0,0,0x1)
> 14319 bash RET lseek -1 errno 29 Illegal seek
> 14319 bash CALL read(0,0xcfbfd427,0x1)
> 14319 bash GIO fd 0 read 1 bytes
this shows that 1 byte was read on stdin, which is definitely not an EOF,
the EOF is indicated by reading 0 bytes.
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1