This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch/PR 5620] Fix -save-temps on mingw32 host


From: "Kai Henningsen"

|  (Danny Smith)  wrote on 27.06.04 in
|
| > This fixes by using lrealpath on Windows hosts. Since Windows
| > filesystems don't have Posix style symlinks, lrealpath just returns
a
| > canonicalized full pathname.
|
| Hmm ... you can, however, have *hard* links on NTFS.

yes, of course, and you can construct an inode-like number on NTFS,  but
not all win32 files live on NTFS. That can be added later if it is
needed. (Is lrealpath supposed to resovle hard links as well symbolic
links anyway?)  Right now I want to get save-temps working for the
99.999% of the times when it is safe to write a temp file when asked to.

Danny
|
| MfG Kai


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]