Manoj Srivastava <[EMAIL PROTECTED]> writes: > On Thu, 24 Apr 2003 15:26:46 -0700, Brian Nelson <[EMAIL PROTECTED]> said: > >> I'm trying to implement ucf in a perl postinst script, but I'm >> running into problems due to debconf's fuckage with the file >> descriptors, I think. > >> I call stop() as soon as I'm done interfacing with debconf, but that >> doesn't seem to be good enough when I get to ucf. First, I tried > >> system("/usr/bin/ucf $tmpfile $realfile"); > >> but that hung due to ucf listening on but not receiving anything >> from fd 0. > > > This may be a stupid question, but do you get the same > behaviour when you try: > system '/usr/bin/ucf', "$tmpfile", "$realfile";
Yes. Attaching an strace shows: read(0, -- I don't know half of you half as well as I should like; and I like less than half of you half as well as you deserve.
pgpwnmQDQNBTu.pgp
Description: PGP signature