mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Improve pg_upgrade X_OK comment.
This commit is contained in:
parent
6fbf4e0e7c
commit
92ff915018
@ -97,9 +97,9 @@ verify_directories(void)
|
|||||||
if (access(".", R_OK | W_OK
|
if (access(".", R_OK | W_OK
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
/*
|
/*
|
||||||
* Directory execute permission on NTFS means "can execute scripts",
|
* Do a directory execute check only on Unix because execute permission
|
||||||
* which we don't care about, so skip the check. Also, X_OK is not
|
* on NTFS means "can execute scripts", which we don't care about.
|
||||||
* defined in the API.
|
* Also, X_OK is not defined in the Windows API.
|
||||||
*/
|
*/
|
||||||
| X_OK
|
| X_OK
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user