[PATCH] xfsdump: fix system() error reporting
Timothy Shimmin
timothy.shimmin at gmail.com
Wed Feb 18 00:38:48 CST 2009
On Tue, Feb 17, 2009 at 8:38 PM, Christoph Hellwig <hch at infradead.org>wrote:
> On Tue, Feb 17, 2009 at 11:08:33AM +1100, Timothy Shimmin wrote:
> > Hi Christoph,
> >
> > Looks reasonable.
> > Though, in the case of returning -1, it might be more interesting
> > to know the value of errno ? (I presume errno would be set in that case).
>
> From looking at the manpage and the glibc implementation it seem like
> system does not actually set errno.
>
>
Fair enough.
Yeah, it didn't seem clear in the man page and
I thought it might make a call to fork, waitpid etc which might set an
errno.
Cheers,
Tim.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20090218/3fee9ead/attachment.htm>
More information about the xfs
mailing list