Skip to content

Commit 26f6111

Browse files
committed
Add comment about portability function name inconsistency.
1 parent 109d7af commit 26f6111

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/include/port.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $PostgreSQL: pgsql/src/include/port.h,v 1.52 2004/08/12 18:32:43 momjian Exp $
9+
* $PostgreSQL: pgsql/src/include/port.h,v 1.53 2004/08/17 14:38:38 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -124,6 +124,8 @@ extern off_t ftello(FILE *stream);
124124
/*
125125
* WIN32 doesn't allow descriptors returned by pipe() to be used in select(),
126126
* so for that platform we use socket() instead of pipe().
127+
* There is some inconsistency here because sometimes we require pg*, like
128+
* pgpipe, but in other cases we define rename to pgrename just on Win32.
127129
*/
128130
#ifndef WIN32
129131
#define pgpipe(a) pipe(a)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy