Commit 1960f4be authored by Tom Lane's avatar Tom Lane

Ooops ... 'char c' can hold a char, but it can't hold EOF ...

parent 1cc7e40c
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.99 2000/01/26 05:56:13 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.100 2000/02/09 00:10:11 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -1138,7 +1138,7 @@ CopyReadNewline(FILE *fp, int *newline) ...@@ -1138,7 +1138,7 @@ CopyReadNewline(FILE *fp, int *newline)
static char * static char *
CopyReadAttribute(FILE *fp, bool *isnull, char *delim, int *newline, char *null_print) CopyReadAttribute(FILE *fp, bool *isnull, char *delim, int *newline, char *null_print)
{ {
char c; int c;
#ifdef MULTIBYTE #ifdef MULTIBYTE
int mblen; int mblen;
unsigned char s[2]; unsigned char s[2];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment