aboutsummaryrefslogtreecommitdiff
path: root/src/port/dirmod.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-10-17 23:53:30 +0000
committerBruce Momjian <bruce@momjian.us>2004-10-17 23:53:30 +0000
commitedb1ba113d767dede2a413ed46fe801a99706611 (patch)
tree36fc63468ad033394e32179cdce22308dced0076 /src/port/dirmod.c
parent1311667b5c2b9d75af1eb9b60f247268f7db70f8 (diff)
downloadpostgresql-edb1ba113d767dede2a413ed46fe801a99706611.tar.gz
postgresql-edb1ba113d767dede2a413ed46fe801a99706611.zip
Better document win32_open and its ability to allow concurrent
unlink/rename().
Diffstat (limited to 'src/port/dirmod.c')
-rw-r--r--src/port/dirmod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/port/dirmod.c b/src/port/dirmod.c
index 5bb53f08c8e..6035b81bc53 100644
--- a/src/port/dirmod.c
+++ b/src/port/dirmod.c
@@ -10,7 +10,7 @@
* Win32 (NT, Win2k, XP). replace() doesn't work on Win95/98/Me.
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/port/dirmod.c,v 1.29 2004/10/17 23:39:22 momjian Exp $
+ * $PostgreSQL: pgsql/src/port/dirmod.c,v 1.30 2004/10/17 23:53:30 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -68,7 +68,7 @@ pgrename(const char *from, const char *to)
{
int loops = 0;
- /* Is this loop even necessary? */
+ /* Is this loop even necessary now that we have win32_open()? */
#if defined(WIN32) && !defined(__CYGWIN__)
while (!MoveFileEx(from, to, MOVEFILE_REPLACE_EXISTING))
#endif
@@ -114,7 +114,7 @@ pgunlink(const char *path)
{
int loops = 0;
- /* Is this loop even necessary? */
+ /* Is this loop even necessary now that we have win32_open()? */
while (unlink(path))
{
if (errno != EACCES)