Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit92eadf6

Browse files
committed
More Win32 tilde code comments.
1 parent3d44763 commit92eadf6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

‎src/bin/psql/common.c

Lines changed: 6 additions & 2 deletions
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
returnNULL;
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
#ifndefWIN32
12991303

13001304
/* try tilde expansion */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp