Commit 92eadf6c authored by Bruce Momjian's avatar Bruce Momjian

More Win32 tilde code comments.

parent 3d447631
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* *
* Copyright (c) 2000-2005, PostgreSQL Global Development Group * Copyright (c) 2000-2005, PostgreSQL Global Development Group
* *
* $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.99 2005/06/10 14:41:32 momjian Exp $ * $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.100 2005/06/10 14:49:31 momjian Exp $
*/ */
#include "postgres_fe.h" #include "postgres_fe.h"
#include "common.h" #include "common.h"
...@@ -1294,7 +1294,11 @@ expand_tilde(char **filename) ...@@ -1294,7 +1294,11 @@ expand_tilde(char **filename)
if (!filename || !(*filename)) if (!filename || !(*filename))
return NULL; return NULL;
/* MSDOS uses tilde for short versions of long file names, so skip it. */ /*
* WIN32 doesn't use tilde expansion for file names.
* Also, it uses tilde for short versions of long file names,
* though the tilde is usually toward the end, not at the beginning.
*/
#ifndef WIN32 #ifndef WIN32
/* try tilde expansion */ /* try tilde expansion */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment