also sprach Christoph Berg <[EMAIL PROTECTED]> [2007.10.04.2046 +0100]: > > (a) that warning should go to stderr > > Only if -o is stdout.
uh, no. It's a warning.
> > (b) there can't be a real reason for this. It should be trivial to
> > add.
>
> Just tried it here, s.out is the -o file:
>
> 16718 open("s.out", O_WRONLY|O_CREAT|O_TRUNC, 0600) = 3
> 16718 fcntl(3, F_GETFL) = 0x8001 (flags O_WRONLY|O_LARGEFILE)
> 16718 fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
> 16718 lseek(3, 0, SEEK_CUR) = 0
> 16718 write(3, "# Network services, Internet sty"..., 4096) = 4096
> 16718 write(3, "9/tcp\t\t\t\t# Quick Mail Transfer P"..., 4096) = 4096
> 16718 write(3, "otus Note\nlotusnote\t1352/udp\tlot"..., 4096) = 4096
> 16718 write(3, "rmtsys\t7009/tcp\t\t\t# remote cache"..., 4096) = 4096
> 16718 write(3, "ent statd\nenbd-sstatd\t5052/tcp\t\t"..., 1917) = 1917
> 16718 close(3) = 0
>
> That was a fairly trivial patch, no idea if there's more lseek()s or other
> syscalls that don't work on stdout for more complex ones.
I am not sure I understand. You tried it? So you have made a patch
already? Why then use s.out? I need the result written to stdout...
--
.''`. martin f. krafft <[EMAIL PROTECTED]>
: :' : proud Debian developer, author, administrator, and user
`. `'` http://people.debian.org/~madduck - http://debiansystem.info
`- Debian - when you have better things to do than fixing systems
digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/)

