Changeset 28375 for main/trunk/greenstone2/perllib/plugins/BasePlugin.pm
- Timestamp:
- 2013-10-10T13:57:59+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/BasePlugin.pm
r27973 r28375 671 671 print $outhandle "Calling method: $cfilename:$cline $cpackage->$csubr\n"; 672 672 673 674 673 my ($filemeta) = $file =~ /([^\\\/]+)$/; # getting the tail of the filepath (skips all string parts containing slashes upto the end) 675 674 $filemeta = $self->filepath_to_utf8($filemeta, $file_encoding); … … 891 890 # Win32::GetLongFilePath() -- then the underlying file system is UTF16 892 891 893 if ( $ENV{'GSDLOS'} =~ m/^windows$/i) {892 if (($ENV{'GSDLOS'} =~ m/^windows$/i) && ($^O ne "cygwin")) { 894 893 # Can do better than working with the DOS character encoding returned by locale 895 894 $deduced_filename_encoding = "unicode"; … … 963 962 # abbreviated DOS form 964 963 965 if ( $ENV{'GSDLOS'} =~ m/^windows$/i) {964 if (($ENV{'GSDLOS'} =~ m/^windows$/i) && ($^O ne "cygwin")) { 966 965 if ((defined $filename_encoding) && ($filename_encoding eq "unicode")) { 967 966 if (-e $raw_filename) {
Note:
See TracChangeset
for help on using the changeset viewer.