Re: Possible bug in wait4(), 2.1.126-129 ?

Ion Badulescu (ionut@moisil.cs.columbia.edu)
Sun, 22 Nov 1998 14:51:38 -0500 (EST)


On Sun, 22 Nov 1998, H. J. Lu wrote:

> I have to add ';' at the end of the first line.

Fair enough. :-)

> I am using Perl version 5.004_04 and glibc 2.0.7.
>
> # cat pp
> #! /usr/bin/perl
>
> `cmp -s /tmp/foo /tmp/bar`;
> die "could not move /tmp/foo to /tmp/bar: $!" if ($? != 0);
> # strace pp

Ok. I assume this is from the command line. That works for me too. Now try
running it as a cron job from /etc/crontab:

xx xx * * * root strace /xxxx/pp

BTW, I get the same results with perl 5.004_04 from Red Hat and with my
locally compiled (under 2.1.129) perl 5.005_02.

I still regard this as a "cannot happen" case. Do you have a reasonable
explanation for the things you saw in my strace output?

Ion

-- 
  It is better to keep your mouth shut and be thought a fool,
            than to open it and remove all doubt.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/