------- Comment #3 from jan dot kratochvil at redhat dot com  2008-11-24 16:40 
-------
Created an attachment (id=16759)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16759&action=view)
Check the file manipulations errors.

Thanks Tobias B.,
unlink("mmm.mod")                 = -1 EPERM (Operation not permitted)
rename("mmm.mod0", "mmm.mod")     = -1 EPERM (Operation not permitted)
write(2, " init"..., 5)           = 5   
stat("mmm.mod", {st_mode=S_IFREG|0644, st_size=547, ...}) = 0
open("mmm.mod", O_RDONLY)         = 4   

With the attached patch the same command now fails for me:
Fatal Error: Can't delete module file 'mmm.mod': Operation not permitted

I have no GCC SVN write permissions.
Left one unchecked unlink() in an error recovery path there.


-- 


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

Reply via email to