Thanks. Applied.
> Bruce,
>
> Noticed a small bug in the code. Probably been there for some time. Note
> that the original code would consider things like UNIX domain sockets are
> regular files.
>
> Gavin Sherry
> Alcove Systems Engineering
Content-Description:
[ Attachment, skipping... ]
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
*** ./backend/utils/init/findbe.c.orig Thu Mar 8 18:10:54 2001
--- ./backend/utils/init/findbe.c Thu Mar 8 18:15:04 2001
***************
*** 74,80 ****
path);
return -1;
}
! if (!(buf.st_mode & S_IFREG))
{
if (DebugLvl > 1)
fprintf(stderr, "ValidateBinary: \"%s\" is not a regular file\n",
--- 74,82 ----
path);
return -1;
}
!
!
! if ((buf.st_mode & S_IFMT) != S_IFREG)
{
if (DebugLvl > 1)
fprintf(stderr, "ValidateBinary: \"%s\" is not a regular file\n",