Skip to content

Commit 92ff915

Browse files
committed
Improve pg_upgrade X_OK comment.
1 parent 6fbf4e0 commit 92ff915

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/pg_upgrade/exec.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,9 @@ verify_directories(void)
9797
if (access(".", R_OK | W_OK
9898
#ifndef WIN32
9999
/*
100-
* Directory execute permission on NTFS means "can execute scripts",
101-
* which we don't care about, so skip the check. Also, X_OK is not
102-
* defined in the API.
100+
* Do a directory execute check only on Unix because execute permission
101+
* on NTFS means "can execute scripts", which we don't care about.
102+
* Also, X_OK is not defined in the Windows API.
103103
*/
104104
| X_OK
105105
#endif

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy