This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add system(NULL) to fileio


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]