|
3 | 3 | *
|
4 | 4 | * Copyright (c) 2000-2005, PostgreSQL Global Development Group
|
5 | 5 | *
|
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 $ |
7 | 7 | */
|
8 | 8 | #include"postgres_fe.h"
|
9 | 9 | #include"common.h"
|
@@ -1294,7 +1294,11 @@ expand_tilde(char **filename)
|
1294 | 1294 | if (!filename|| !(*filename))
|
1295 | 1295 | returnNULL;
|
1296 | 1296 |
|
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 | + */ |
1298 | 1302 | #ifndefWIN32
|
1299 | 1303 |
|
1300 | 1304 | /* try tilde expansion */
|
|