From 92eadf6c4a5cc762e3829b360d4ac4d51cae03fb Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 10 Jun 2005 14:49:31 +0000 Subject: [PATCH] More Win32 tilde code comments. --- src/bin/psql/common.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/bin/psql/common.c b/src/bin/psql/common.c index a4cefdfc21..78c8fa294d 100644 --- a/src/bin/psql/common.c +++ b/src/bin/psql/common.c @@ -3,7 +3,7 @@ * * 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 "common.h" @@ -1294,7 +1294,11 @@ expand_tilde(char **filename) if (!filename || !(*filename)) 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 /* try tilde expansion */ -- 2.40.0