I believe it should. Otherwise you would have to add these kinds of kludges whenever you stumble upon problems:
Stdio.Stat st = file_stat(path)
#ifdef __NT__ if(!st && get_dir(path)) st = Stdio.Stat( ({ 040777, -2, 0,0,0,0,0 }) ); #endif
if(st->isdir) recurse(path); else do_stuff(path);
Is there a good reason why this shouldn't work without the kludge?
/ Martin Nilsson (saturator)
Previous text:
2004-02-12 17:50: Subject: NT problem.
Can NT produce something stat-like for a unit letter? If it can't, I'm not sure that Pike should fake it.
/ Martin Stjernholm, Roxen IS