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
fd05f896
Commit
fd05f896
authored
24 years ago
by
Peter Eisentraut
Browse files
Options
Downloads
Patches
Plain Diff
Extend accept/AF_UNIX bug workaround to SCO OpenServer.
parent
403abf1c
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/backend/libpq/pqcomm.c
+4
-4
4 additions, 4 deletions
src/backend/libpq/pqcomm.c
src/include/port/sco.h
+3
-0
3 additions, 0 deletions
src/include/port/sco.h
src/include/port/unixware.h
+1
-1
1 addition, 1 deletion
src/include/port/unixware.h
with
8 additions
and
5 deletions
src/backend/libpq/pqcomm.c
+
4
−
4
View file @
fd05f896
...
...
@@ -29,7 +29,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: pqcomm.c,v 1.11
2
2000/11/
14 01:15:00 momjian
Exp $
* $Id: pqcomm.c,v 1.11
3
2000/11/
21 23:03:53 petere
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -411,10 +411,10 @@ StreamConnection(int server_fd, Port *port)
return
STATUS_ERROR
;
}
#ifdef
PG_ON_UNIXWARE
#ifdef
SCO_ACCEPT_BUG
/*
*
Only
UnixWare 7+ are known to have this bug,
but it shouldn't
* hurt it catch if for all of them.
* UnixWare 7+
and OpenServer 5.0.4
are known to have this bug,
*
but it shouldn't
hurt it catch if for all of them.
*/
if
(
port
->
raddr
.
sa
.
sa_family
==
0
)
port
->
raddr
.
sa
.
sa_family
=
AF_UNIX
;
...
...
This diff is collapsed.
Click to expand it.
src/include/port/sco.h
+
3
−
0
View file @
fd05f896
...
...
@@ -4,6 +4,9 @@
#define DISABLE_COMPLEX_MACRO
/* see src/backend/libpq/pqcomm.c */
#define SCO_ACCEPT_BUG
#define HAS_TEST_AND_SET
#define NEED_I386_TAS_ASM
...
...
This diff is collapsed.
Click to expand it.
src/include/port/unixware.h
+
1
−
1
View file @
fd05f896
...
...
@@ -2,7 +2,7 @@
#define NEED_I386_TAS_ASM
/* see src/backend/libpq/pqcomm.c */
#define
PG_ON_UNIXWARE
#define
SCO_ACCEPT_BUG
/***************************************
* Define this if you are compiling with
...
...
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