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
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
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
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
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
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
--
steven at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last
--- 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
--- 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
--- 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.
--
hjl dot tools at gmail dot com changed:
What|Removed |Added
Severity|enhancement |minor
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36755
--- 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
--
--- 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
13 matches
Mail list logo