Message-ID: <bq8034ba.fsf@blue.sea.net>
p4raw-id: //depot/perl@32892
# Version number
-$VERSION = '0.20';
+$VERSION = '0.20_01';
# This is a list of characters that can be used in random filenames
${$options{ErrStr}} = "Parent directory ($parent) is not a directory";
return ();
}
- unless (-w $parent) {
+
+ if ( $^O eq 'cygwin' ) {
+ # No-op special case. Under Windows Cygwin (FAT32) the directory
+ # permissions cannot be trusted. Directories are always
+ # writable.
+ }
+ elsif (not -w $parent) {
${$options{ErrStr}} = "Parent directory ($parent) is not writable\n";
return ();
}