mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
* postmaster.c: cleanup pmdaemonize under win32; missed failure message
in CreateOptsFile * s_lock.c: minor comment fix * findbe.c: variables not used under win32 moved within #ifndef WIN32 case Claudio Natoli
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/init/findbe.c,v 1.41 2004/02/02 00:11:31 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/init/findbe.c,v 1.42 2004/03/15 16:18:43 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -49,13 +49,13 @@ ValidateBinary(char *path)
|
||||
uid_t euid;
|
||||
struct group *gp;
|
||||
struct passwd *pwp;
|
||||
int i;
|
||||
int in_grp = 0;
|
||||
#else
|
||||
char path_exe[MAXPGPATH + 2 + strlen(".exe")];
|
||||
#endif
|
||||
int i;
|
||||
int is_r = 0;
|
||||
int is_x = 0;
|
||||
int in_grp = 0;
|
||||
|
||||
#ifdef WIN32
|
||||
/* Win32 requires a .exe suffix for stat() */
|
||||
|
||||
Reference in New Issue
Block a user