mirror of
https://github.com/postgres/postgres.git
synced 2025-07-09 22:41:56 +03:00
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 |
This commit is contained in:
@ -822,7 +822,8 @@ QResultClass *
|
|||||||
CC_send_query(ConnectionClass *self, char *query, QueryInfo *qi)
|
CC_send_query(ConnectionClass *self, char *query, QueryInfo *qi)
|
||||||
{
|
{
|
||||||
QResultClass *result_in, *res = NULL;
|
QResultClass *result_in, *res = NULL;
|
||||||
char id, swallow;
|
char swallow;
|
||||||
|
int id;
|
||||||
SocketClass *sock = self->sock;
|
SocketClass *sock = self->sock;
|
||||||
static char msgbuffer[MAX_MESSAGE_LEN+1];
|
static char msgbuffer[MAX_MESSAGE_LEN+1];
|
||||||
char cmdbuffer[MAX_MESSAGE_LEN+1]; // QR_set_command() dups this string so dont need static
|
char cmdbuffer[MAX_MESSAGE_LEN+1]; // QR_set_command() dups this string so dont need static
|
||||||
|
Reference in New Issue
Block a user