public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "burnus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/36755] Avoid fork/exec in chmod intrinsic Date: Wed, 09 Nov 2011 22:25:00 -0000 [thread overview] Message-ID: <bug-36755-4-nVo0KxL0Zo@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-36755-4@http.gcc.gnu.org/bugzilla/> 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].
next parent reply other threads:[~2011-11-09 22:01 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-36755-4@http.gcc.gnu.org/bugzilla/> 2011-11-09 22:25 ` burnus at gcc dot gnu.org [this message] 2012-01-12 8:06 ` burnus at gcc dot gnu.org 2012-01-12 17:32 ` burnus at gcc dot gnu.org 2012-01-12 19:26 ` burnus at gcc dot gnu.org 2012-01-12 20:28 ` burnus at gcc dot gnu.org 2012-01-12 20:33 ` burnus at gcc dot gnu.org 2008-07-07 20:58 [Bug libfortran/36755] New: " hjl dot tools at gmail dot com 2008-07-07 21:01 ` [Bug libfortran/36755] " pinskia at gcc dot gnu dot org 2008-07-09 20:35 ` hjl dot tools at gmail dot com 2008-07-09 20:49 ` pinskia at gcc dot gnu dot org 2008-07-09 21:18 ` hjl dot tools at gmail dot com 2008-07-09 21:22 ` hjl dot tools at gmail dot com 2008-07-09 21:25 ` hjl dot tools at gmail dot com 2008-09-28 0:03 ` steven at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-36755-4-nVo0KxL0Zo@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).