Re: [pgsql-hackers-win32] Re : Win32 binaries test / pg_dump problem - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: [pgsql-hackers-win32] Re : Win32 binaries test / pg_dump problem
Date
Msg-id 200407111010.34146.peter_e@gmx.net
Whole thread Raw
In response to Re: [pgsql-hackers-win32] Re : Win32 binaries test / pg_dump problem  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [pgsql-hackers-win32] Re : Win32 binaries test / pg_dump
List pgsql-patches
Bruce Momjian wrote:
> + #ifndef WIN32
> + #define R_TEXTFILE    "r"
> + #else
> + #define R_TEXTFILE    "rb"
> + #endif

This appears to be redundant with

#if defined(__CYGWIN__) || defined(WIN32)
#define PG_BINARY       O_BINARY
#define PG_BINARY_R "rb"
#define PG_BINARY_W "wb"
#else
#define PG_BINARY       0
#define PG_BINARY_R "r"
#define PG_BINARY_W "w"
#endif

in c.h.


pgsql-patches by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: OWNER TO mega patch #2
Next
From: Bruce Momjian
Date:
Subject: Re: OWNER TO mega patch #2