https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108350
--- Comment #17 from Bill Zissimopoulos <gnu.org at billz dot fastmail.fm> --- (In reply to niXman from comment #15) > > There is no way to resolve a hardlink to a "real" path, all hardlinked > > paths are "real". > > according to this link: > https://stackoverflow.com/questions/10260676/programmatically-finding-the- > target-of-a-windows-hard-link > > it seems hardlinks should be resolved too. or I'm wrong? It is possible on Windows to enumerate all hard links using FindFirstFileNameW / FindNextFileNameW. But conceptually at least all hard links are equal to each other, even if on some file systems a particular hard link is "more equal" than the others. So IMO hard link resolution makes little sense.