Add system(NULL) to fileio

Nathan Sidwell nathan@codesourcery.com
Tue Jun 13 08:31:00 GMT 2006


Corinna Vinschen wrote:

> 
> Wouldn't it be better to add a short comment here explaining the !length
> case, something along the lines of "A zero length indicates a NULL
> argument to system(3) ... handled according to POSIX (check if shell
> exists) even if the system call hasn't been allowed by the user"?

I'll add such a comment, thanks for the review.

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk



More information about the Gdb-patches mailing list