Changeset 23416 for main/trunk
- Timestamp:
- 2010-12-08T11:45:11+13:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/util.pm
r23414 r23416 1101 1101 # Ensure any DOS-like filename, such as test~1.txt, has been upgraded 1102 1102 # to its long (Windows) version 1103 $filename_full_path = Win32::GetLongPathName($filename_full_path); 1103 my $long_filename = Win32::GetLongPathName($filename_full_path); 1104 if (defined $long_filename) { 1105 $filename_full_path = $long_filename; 1106 } 1104 1107 # Make sure initial drive letter is lower-case (to fit in with rest of Greenstone) 1105 1108 $filename_full_path =~ s/^(.)/\l$1/; … … 1126 1129 if (defined $short_filename) { 1127 1130 $filename_full_path = $short_filename; 1128 1129 # Make sure initial drive letter is lower-case (to fit in 1130 # with rest of Greenstone) 1131 $filename_full_path =~ s/^(.)/\l$1/; 1132 } 1131 } 1132 # Make sure initial drive letter is lower-case (to fit in 1133 # with rest of Greenstone) 1134 $filename_full_path =~ s/^(.)/\l$1/; 1133 1135 } 1134 1136
Note:
See TracChangeset
for help on using the changeset viewer.