8 May
2006
8 May
'06
18:22
Jerry Feldman wrote:
Ok, Just to make it quick because I have a meeting ASAP Check the return values for pipe(). pipe() returns the fds in a 2 element int array. Try setting those to -1 before you call pipe() and see what happens.
I was already checking the return value of pipe(), but I think I might have found the problem elsewhere. I think (just testing it now) it was a double close() of a file descriptor - where the file descriptor had been handed out again in between two close(). Obviously not the best idea :-) Thanks for your help and patience. /Per Jessen, Zürich