Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 92eadf6

Browse files
committed
More Win32 tilde code comments.
1 parent 3d44763 commit 92eadf6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/bin/psql/common.c

+6-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.99 2005/06/10 14:41:32 momjian Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.100 2005/06/10 14:49:31 momjian Exp $
77
*/
88
#include "postgres_fe.h"
99
#include "common.h"
@@ -1294,7 +1294,11 @@ expand_tilde(char **filename)
12941294
if (!filename || !(*filename))
12951295
return NULL;
12961296

1297-
/* MSDOS uses tilde for short versions of long file names, so skip it. */
1297+
/*
1298+
* WIN32 doesn't use tilde expansion for file names.
1299+
* Also, it uses tilde for short versions of long file names,
1300+
* though the tilde is usually toward the end, not at the beginning.
1301+
*/
12981302
#ifndef WIN32
12991303

13001304
/* try tilde expansion */

0 commit comments

Comments
 (0)