Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
fd05f896
Commit
fd05f896
authored
Nov 21, 2000
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extend accept/AF_UNIX bug workaround to SCO OpenServer.
parent
403abf1c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
src/backend/libpq/pqcomm.c
src/backend/libpq/pqcomm.c
+4
-4
src/include/port/sco.h
src/include/port/sco.h
+3
-0
src/include/port/unixware.h
src/include/port/unixware.h
+1
-1
No files found.
src/backend/libpq/pqcomm.c
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
;
...
...
src/include/port/sco.h
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
...
...
src/include/port/unixware.h
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment