develooper Front page | perl.perl5.porters | Postings from January 2009

Re: S_IFLNK() Availability on Win32 (and other non-UNIX systems)

Thread Previous | Thread Next
From:
Ben Morrow
Date:
January 14, 2009 15:47
Subject:
Re: S_IFLNK() Availability on Win32 (and other non-UNIX systems)
Message ID:
qf9246-i67.ln1@osiris.mauzo.dyndns.org

Quoth rgarciasuarez@gmail.com ("Rafael Garcia-Suarez"):
>
> Dunno. Does Windows 7 implement symbolic links ? I think that's
> unlikely.

Windows has had symlinks (and hard links) when using NTFS since at least
Win2k, but they aren't much used and there isn't any libc support (also,
Explorer tends to get a little confused by them). Win32::Symlink
provides symlink(2) and readlink(2) replacements, but not lstat(2). If
someone wanted to do the work, it might be nice for perl's lstat &c. to
support them, but it's likely not worth the effort.

Ben


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About