Hannes Eder wrote:
- open($D, "dir /b $subdirs $spec |") || croak "Could not list $spec\n";
+ open($D, "cmd /c dir /b $subdirs $spec |") || croak "Could not list
$spec\n";
What the heck are we doing here anyway? We should be doing this a la
Perl - calling out to "dir /b" is surely not the best way to do this. If
we need to recurse we should use File::Find.
cheers
andrew
---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at
http://www.postgresql.org/about/donate