[Bug other/38966] libiberty make_relative_prefix_1 mistakes directories for executables

mmlr at mlotz dot ch gcc-bugzilla@gcc.gnu.org
Tue Jan 27 01:23:00 GMT 2009



------- Comment #4 from mmlr at mlotz dot ch  2009-01-27 01:23 -------
Created an attachment (id=17189)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17189&action=view)
Proposed fix with conditional use of stat based on HAVE_SYS_STAT_H

This only conditionally uses stat() if HAVE_SYS_STAT_H is defined. Not sure
about the indentation style at all, sorry.


-- 

mmlr at mlotz dot ch changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #17181|0                           |1
        is obsolete|                            |


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



More information about the Gcc-bugs mailing list