Changeset 5494


Ignore:
Timestamp:
2003-09-12T11:18:39+12:00 (21 years ago)
Author:
sjboddie
Message:

It turns out that the perl link() function is supported on NTFS. Instead
of resorting to a copy() instead of a link() for all windows platforms
in hard_link() we now only do it for non-ntfs windows's.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/util.pm

    r3628 r5494  
    298298    mk_all_dir($dest_dir) if (!-e $dest_dir);
    299299
    300     # link not supported on windows
    301     if ($ENV{'GSDLOS'} =~ /^windows$/i) {
     300    # link not supported on windows 9x
     301    if (($ENV{'GSDLOS'} =~ /^windows$/i) && (Win32::FsType() !~ /^ntfs$/i)) {
    302302    &File::Copy::copy ($src, $dest);
    303303
Note: See TracChangeset for help on using the changeset viewer.