Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita7257ff

Browse files
committed
autoconf test for and set HAVE_VFORK
1 parente72b1cc commita7257ff

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

‎src/backend/postmaster/postmaster.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.36 1997/01/27 22:37:48 scrappy Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.37 1997/02/06 06:15:49 scrappy Exp $
1414
*
1515
* NOTES
1616
*
@@ -86,7 +86,7 @@
8686
#if defined(DBX_VERSION)
8787
# defineFORK() (0)
8888
#else
89-
#if defined(NO_VFORK)
89+
#ifndefHAVE_VFORK)
9090
# defineFORK() fork()
9191
# else
9292
# defineFORK() vfork()

‎src/include/config.h.in

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@
5959
/* Set to 1 if you have kill() */
6060
#undef HAVE_KILL
6161

62+
/* Set to 1 if you have vfork() */
63+
#undef HAVE_VFORK
64+
6265
/* Set to 1 if you have sysconf() */
6366
#undef HAVE_SYSCONF
6467

@@ -81,7 +84,6 @@
8184
#if defined(aix)
8285
# defineCLASS_CONFLICT
8386
# define DISABLE_XOPEN_NLS
84-
# defineHAVE_SYS_SELECT_H
8587
# defineHAVE_ANSI_CPP
8688
# defineHAS_TEST_AND_SET
8789
typedefunsignedintslock_t;
@@ -135,7 +137,6 @@
135137
#if defined(i386_solaris)
136138
# defineUSE_POSIX_TIME
137139
# define USE_POSIX_SIGNALS
138-
# defineNEED_RUSAGE
139140
# defineNO_EMPTY_STMTS
140141
# defineSYSV_DIRENT
141142
# defineHAS_TEST_AND_SET
@@ -146,7 +147,6 @@
146147
# defineUSE_POSIX_TIME
147148
# define USE_POSIX_SIGNALS
148149
# defineNO_EMPTY_STMTS
149-
# defineNO_VFORK
150150
# defineSYSV_DIRENT
151151
# defineHAS_TEST_AND_SET
152152
# include<abi_mutex.h>
@@ -193,7 +193,6 @@
193193
#if defined(sparc_solaris)
194194
# defineUSE_POSIX_TIME
195195
# define USE_POSIX_SIGNALS
196-
# defineNEED_RUSAGE
197196
# defineNO_EMPTY_STMTS
198197
# defineUSE_POSIX_TIME
199198
# defineSYSV_DIRENT
@@ -209,7 +208,6 @@ typedef unsigned char slock_t;
209208
#if defined(svr4)
210209
# defineUSE_POSIX_TIME
211210
# define USE_POSIX_SIGNALS
212-
# defineNEED_RUSAGE
213211
# defineNO_EMPTY_STMTS
214212
# defineSYSV_DIRENT
215213
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp