From: Les M. <le...@fu...> - 2007-10-26 20:27:34
|
John Rouillard wrote: > > open("/usr/local/src/fastforward-0.51/warn-auto.sh", > O_RDONLY|O_LARGEFILE) = 3 > fstat64(3, {st_mode=S_IFREG|0644, st_size=64, ...}) = 0 > read(3, "#!/bin/sh\n# WARNING: This file w"..., 64) = 64 > close(3) = 0 > select(2, NULL, [1], NULL, {60, 0}) = 1 (out [1], left (line 2799) > {60, 0}) > write(1, "\300\0\0\7\0waitpid\0__errno_location\0er"..., > 196) = 196 > select(2, NULL, [1], NULL, {60, 0}) = 1 (out [1], left > {60, 0}) > write(1, "\4\0\0\7\377\377\377\377", 8) = 8 > select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) > select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) > select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) > select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) > select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) > select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) > select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) > select(1, [0], [], NULL, {60, 0}) = 0 (Timeout) > > and toast city. > > What's wierd is the select 2 after the close. There are earlier selects on fd2 that aren't followed by a write. The real problem is the select on fd1 (stdout) that tells you that a write would block. > I can make the whole file available on the web if you or anybody else > want's it. Contact me off list, no sense spamming people. I don't think it would help. The question is, why can't you write to stdout? It should be connected to sshd which should be passing stuff to the invoking ssh and perl should be consuming it. -- Les Mikesell les...@gm... |