summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/delqueue.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-03-18 06:26:14 +0000
committerChristopher Faylor <me@cgf.cx>2000-03-18 06:26:14 +0000
commit87b82db4e7b0585f50fd11671e43e0e3b6be2ad9 (patch)
treea1d41af9bc07a96711967c6f58667764b72c3b5c /winsup/cygwin/delqueue.cc
parent03261851a10dd2d6900a0a00a7515a0a46fb5d76 (diff)
downloadcygnal-87b82db4e7b0585f50fd11671e43e0e3b6be2ad9.tar.gz
cygnal-87b82db4e7b0585f50fd11671e43e0e3b6be2ad9.tar.bz2
cygnal-87b82db4e7b0585f50fd11671e43e0e3b6be2ad9.zip
* 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).
Diffstat (limited to 'winsup/cygwin/delqueue.cc')
-rw-r--r--winsup/cygwin/delqueue.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/delqueue.cc b/winsup/cygwin/delqueue.cc
index 81d2bd68b..17feb6991 100644
--- a/winsup/cygwin/delqueue.cc
+++ b/winsup/cygwin/delqueue.cc
@@ -54,6 +54,7 @@ delqueue_list::queue_file (const char *dosname)
strcpy(name[i], temp);
inuse[i] = 1;
empty = 0;
+ debug_printf ("adding '%s' to queue %d", temp, i);
return;
}