Re: tiny patch - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: tiny patch
Date
Msg-id 200105091928.f49JSff26656@candle.pha.pa.us
Whole thread Raw
Responses Re: Re: tiny patch
List pgsql-patches
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",

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: patch for configure for enabling of pl/tcl unknown support
Next
From: Peter Eisentraut
Date:
Subject: Re: patch for configure for enabling of pl/tcl unknown support