This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/36755] Avoid fork/exec in chmod intrinsic
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jul 2008 20:48:52 -0000
- Subject: [Bug libfortran/36755] Avoid fork/exec in chmod intrinsic
- References: <bug-36755-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2008-07-09 20:48 -------
> The current fork/exec implementation is incorrect.
How is it incorrect? Since file could have spaces in it, using system is not
useful at all and even harder to do the correct thing. Really it does not use
system because creating a string to use with system makes it even more
incorrect than it is currently.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36755