Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0d9a0ed

Browse files
committed
Package: postgresql
Version: 6.5.3-11 Severity: important 'char' is not a signed type by default on powerpc; therefore a character can never be equal to EOF (-1). A patch is attached. Dan /--------------------------------\ /--------------------------------\ | Daniel Jacobowitz |__| SCS Class of 2002 |
1 parent a526922 commit 0d9a0ed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/interfaces/odbc/connection.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,8 @@ QResultClass *
822822
CC_send_query(ConnectionClass *self, char *query, QueryInfo *qi)
823823
{
824824
QResultClass *result_in, *res = NULL;
825-
char id, swallow;
825+
char swallow;
826+
int id;
826827
SocketClass *sock = self->sock;
827828
static char msgbuffer[MAX_MESSAGE_LEN+1];
828829
char cmdbuffer[MAX_MESSAGE_LEN+1]; // QR_set_command() dups this string so dont need static

0 commit comments

Comments
 (0)