diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-11-08 16:34:23 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-11-08 16:34:23 +0000 |
commit | 9d95cdcb0710e9b837815074cd2fcfaf48a1c346 (patch) | |
tree | 11bc0bacb042a0c7d6b1dc5eda80464912ef0dbe /src | |
parent | 4b3a2d854c21f728757445a6bd0c76855dda6be2 (diff) | |
download | postgresql-9d95cdcb0710e9b837815074cd2fcfaf48a1c346.tar.gz postgresql-9d95cdcb0710e9b837815074cd2fcfaf48a1c346.zip |
Update workding on why we use is_absolute_path() as a macro.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/port.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/include/port.h b/src/include/port.h index c5dfee99779..58df38d963b 100644 --- a/src/include/port.h +++ b/src/include/port.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/port.h,v 1.65 2004/11/06 01:16:14 tgl Exp $ + * $PostgreSQL: pgsql/src/include/port.h,v 1.66 2004/11/08 16:34:23 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -47,9 +47,8 @@ extern void get_parent_directory(char *path); /* * is_absolute_path * - * This capability is needed by libpq and initdb.c - * On Win32, you can't reference the same object file that is - * in two different libraries (pgport and libpq), so a macro is best. + * By making this a macro we prevent the need for libpq to include + * path.c which uses exec.c. */ #ifndef WIN32 #define is_absolute_path(filename) \ |