* delqueue.cc (delqueue_list::queue_file): Add some debugging.

* path.h (class path_conv): Add a char * operator for the most common case.
* syscalls.cc (_unlink): Rewrite to use FILE_FLAG_DELETE_ON_CLOSE when possible
(i.e., on NT).
This commit is contained in:
Christopher Faylor
2000-03-18 06:26:14 +00:00
parent 03261851a1
commit 87b82db4e7
4 changed files with 48 additions and 19 deletions

View File

@ -66,6 +66,7 @@ class path_conv
path_conv (const char * const, symlink_follow follow_mode = SYMLINK_FOLLOW,
int use_full_path = 0, const suffix_info *suffixes = NULL);
inline char *get_win32 () { return path; }
operator char *() {return path; }
BOOL is_device () {return devn != FH_BAD;}
DWORD get_devn () {return devn == FH_BAD ? (DWORD) FH_DISK : devn;}
short get_unitn () {return devn == FH_BAD ? 0 : unit;}