Skip to content
Snippets Groups Projects
Commit 92ff9150 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

Improve pg_upgrade X_OK comment.

parent 6fbf4e0e
No related branches found
No related tags found
No related merge requests found
......@@ -97,9 +97,9 @@ verify_directories(void)
if (access(".", R_OK | W_OK
#ifndef WIN32
/*
* Directory execute permission on NTFS means "can execute scripts",
* which we don't care about, so skip the check. Also, X_OK is not
* defined in the API.
* Do a directory execute check only on Unix because execute permission
* on NTFS means "can execute scripts", which we don't care about.
* Also, X_OK is not defined in the Windows API.
*/
| X_OK
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment