File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 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 */
You can’t perform that action at this time.
0 commit comments