[Bug libfortran/36755] Avoid fork/exec in chmod intrinsic

2012-01-12 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36755 --- Comment #7 from Tobias Burnus burnus at gcc dot gnu.org 2012-01-12 08:04:57 UTC --- Created attachment 26305 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=26305 Incomplete chmod parser The attached chmod.c implements an incomplete chmod

[Bug libfortran/36755] Avoid fork/exec in chmod intrinsic

2012-01-12 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36755 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Attachment #26305|0 |1 is

[Bug libfortran/36755] Avoid fork/exec in chmod intrinsic

2012-01-12 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36755 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug libfortran/36755] Avoid fork/exec in chmod intrinsic

2012-01-12 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36755 --- Comment #10 from Tobias Burnus burnus at gcc dot gnu.org 2012-01-12 20:26:18 UTC --- Author: burnus Date: Thu Jan 12 20:26:10 2012 New Revision: 183137 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=183137 Log: 2012-01-12 Tobias Burnus

[Bug libfortran/36755] Avoid fork/exec in chmod intrinsic

2012-01-12 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36755 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug libfortran/36755] Avoid fork/exec in chmod intrinsic

2011-11-09 Thread burnus at gcc dot gnu.org
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

[Bug libfortran/36755] Avoid fork/exec in chmod intrinsic

2008-09-27 Thread steven at gcc dot gnu dot org
-- steven at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug libfortran/36755] Avoid fork/exec in chmod intrinsic

2008-07-09 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2008-07-09 20:34 --- The current fork/exec implementation is incorrect. Basically, it re-implements system (). It is tricky to get it 100% correct. One can take a look at system () source to see it him/herself. I think we should call

[Bug libfortran/36755] Avoid fork/exec in chmod intrinsic

2008-07-09 Thread pinskia 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

[Bug libfortran/36755] Avoid fork/exec in chmod intrinsic

2008-07-09 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2008-07-09 21:18 --- (In reply to comment #3) 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.

[Bug libfortran/36755] Avoid fork/exec in chmod intrinsic

2008-07-09 Thread hjl dot tools at gmail dot com
-- hjl dot tools at gmail dot com changed: What|Removed |Added Severity|enhancement |minor http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36755

[Bug libfortran/36755] Avoid fork/exec in chmod intrinsic

2008-07-09 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2008-07-09 21:24 --- Here is one working implementation: http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/posix/system.c?rev=1.6content-type=text/x-cvsweb-markupcvsroot=glibc --

[Bug libfortran/36755] Avoid fork/exec in chmod intrinsic

2008-07-07 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-07-07 21:00 --- Why is really an issue anyways? chmod should not be used too much anyways. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added