Skip to content

Commit 1960f4b

Browse files
committed
Ooops ... 'char c' can hold a char, but it can't hold EOF ...
1 parent 1cc7e40 commit 1960f4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/commands/copy.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.99 2000/01/26 05:56:13 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.100 2000/02/09 00:10:11 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -1138,7 +1138,7 @@ CopyReadNewline(FILE *fp, int *newline)
11381138
static char *
11391139
CopyReadAttribute(FILE *fp, bool *isnull, char *delim, int *newline, char *null_print)
11401140
{
1141-
char c;
1141+
int c;
11421142
#ifdef MULTIBYTE
11431143
int mblen;
11441144
unsigned char s[2];

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