Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
a246e87d
Commit
a246e87d
authored
28 years ago
by
Marc G. Fournier
Browse files
Options
Downloads
Patches
Plain Diff
Convert MISSING_SYSCONF to !HAVE_SYSCONF for autoconf
From: Keith Parks
parent
197c7f54
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/backend/storage/file/fd.c
+3
-3
3 additions, 3 deletions
src/backend/storage/file/fd.c
src/include/config.h
+2
-0
2 additions, 0 deletions
src/include/config.h
with
5 additions
and
3 deletions
src/backend/storage/file/fd.c
+
3
−
3
View file @
a246e87d
...
...
@@ -6,7 +6,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Id: fd.c,v 1.1
3
1997/01/
13 01:25:29
scrappy Exp $
* $Id: fd.c,v 1.1
4
1997/01/
27 00:09:43
scrappy Exp $
*
* NOTES:
*
...
...
@@ -196,7 +196,7 @@ pg_nofile(void)
static
long
no_files
=
0
;
if
(
no_files
==
0
)
{
#if
def
ined(MISSING
_SYSCONF
)
#if
n
def
HAVE
_SYSCONF
no_files
=
(
long
)
NOFILE
;
#else
no_files
=
sysconf
(
_SC_OPEN_MAX
);
...
...
@@ -204,7 +204,7 @@ pg_nofile(void)
elog
(
DEBUG
,
"pg_nofile: Unable to get _SC_OPEN_MAX using sysconf() using (%d)"
,
NOFILE
);
no_files
=
(
long
)
NOFILE
;
}
#endif
/* MISSING_SYSCONF */
#endif
}
if
((
no_files
-
RESERVE_FOR_LD
)
<
FD_MINFREE
)
...
...
This diff is collapsed.
Click to expand it.
src/include/config.h
+
2
−
0
View file @
a246e87d
...
...
@@ -35,6 +35,7 @@
#define HAVE_CBRT
#define HAVE_RINT
#define HAVE_GETRUSAGE
#define HAVE_SYSCONF
#if defined(aix)
# undef HAVE_SYS_SELECT_H
...
...
@@ -151,6 +152,7 @@
#endif
#if defined(nextstep)
# undef HAVE_SYSCONF
# undef HAVE_VALUES_H
# include <sys/ioctl.h>
# if defined(__STRICT_ANSI__)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment