aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-08-17 14:38:38 +0000
committerBruce Momjian <bruce@momjian.us>2004-08-17 14:38:38 +0000
commit26f6111dd9fcdbe2b4b8ed8474d720127fe3c3d7 (patch)
treecc6e97761ae53ce0106cf960c14cda8fae3a303d /src
parent109d7aff73bb94570b36e6d4d9e4e3119b92d970 (diff)
downloadpostgresql-26f6111dd9fcdbe2b4b8ed8474d720127fe3c3d7.tar.gz
postgresql-26f6111dd9fcdbe2b4b8ed8474d720127fe3c3d7.zip
Add comment about portability function name inconsistency.
Diffstat (limited to 'src')
-rw-r--r--src/include/port.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/port.h b/src/include/port.h
index 2091b8ec349..c03e72f163d 100644
--- a/src/include/port.h
+++ b/src/include/port.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/port.h,v 1.52 2004/08/12 18:32:43 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/port.h,v 1.53 2004/08/17 14:38:38 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -124,6 +124,8 @@ extern off_t ftello(FILE *stream);
/*
* WIN32 doesn't allow descriptors returned by pipe() to be used in select(),
* so for that platform we use socket() instead of pipe().
+ * There is some inconsistency here because sometimes we require pg*, like
+ * pgpipe, but in other cases we define rename to pgrename just on Win32.
*/
#ifndef WIN32
#define pgpipe(a) pipe(a)