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

dj at redhat dot com gcc-bugzilla@gcc.gnu.org
Mon Jan 26 19:47:00 GMT 2009



------- Comment #3 from dj at redhat dot com  2009-01-26 19:46 -------
Subject: Re:   New: libiberty make_relative_prefix_1 mistakes directories for
executables


Your code conditionally includes <sys/stat.h> but doesn't
conditionally enable the other code.  If sys/stat.h isn't found,
perhaps the code could revert to the old access() code?


-- 


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



More information about the Gcc-bugs mailing list