Unfortunately using -f and -d doesn't work if someone has already opened them as handles, instead it just throws an error saying 'The dirfd function is unimplemented'
In reply to Re^2: Testing for a directory handle
by ns550
in thread Testing for a directory handle
by ns550
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |