in reply to POSIX::S_ISDIR() with $stat->mode values from Windows vs. Linux
An old dirty hack more down my code, where I forgot about it. A line which in a stupid way testes against the two Win32-cases of dir/file... Works on Windows, but can't handle the richer responses from the Debian platform fs.my $attr = int($mode) == 16895 ? FILE_ATTRIBUTE_DIRECTORY : FILE_ATTRI +BUTE_NORMAL;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: POSIX::S_ISDIR() with $stat->mode values from Windows vs. Linux
by jakobi (Pilgrim) on Oct 05, 2009 at 20:50 UTC | |
by isync (Hermit) on Oct 05, 2009 at 21:54 UTC |