We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fae69dd commit f598201Copy full SHA for f598201
src/backend/utils/init/findbe.c
@@ -7,7 +7,7 @@
7
*
8
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/utils/init/Attic/findbe.c,v 1.21 2001/04/21 18:29:29 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/init/Attic/findbe.c,v 1.22 2001/05/09 19:28:31 momjian Exp $
11
12
*-------------------------------------------------------------------------
13
*/
@@ -74,7 +74,9 @@ ValidateBinary(char *path)
74
path);
75
return -1;
76
}
77
- if (!(buf.st_mode & S_IFREG))
+
78
79
+ if ((buf.st_mode & S_IFMT) != S_IFREG)
80
{
81
if (DebugLvl > 1)
82
fprintf(stderr, "ValidateBinary: \"%s\" is not a regular file\n",
0 commit comments