http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36755

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |burnus at gcc dot gnu.org

--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-11-09 
22:00:33 UTC ---
Another reason for using chmod() directly is that some systems cannot fork but
still offer the function call.

I think the reason that one does the call instead of calling the library
function is that one either needs to restrict the call or that one needs a
fancy parser to support numeric values such as 0777 but also characters such as
a+x for which the full pattern is [ugoa][+-=][rwxXst].

Reply via email to