1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

From: "D'Arcy J.M. Cain" <darcy@druid.net>

Subject: [HACKERS] libpq/pqcomm stuff and Solaris byte order

I decided to go ahead with the required changes since no one else seems
to.  I don't guarantee that it is perfect but with these changes the
package actually compiles.  While I was at it I added to the Sparc
Solaris header to define the byte order.  Note that NetBSD sets this
in the system headers so it wasn't required there.

In particular, someone may want to check whether I removed the correct
84 lines from backend/libpq/pqcomprim.c.
This commit is contained in:
Marc G. Fournier
1997-03-20 18:23:33 +00:00
parent 7d5770eaf2
commit bf872f0aff
4 changed files with 45 additions and 108 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.13 1997/03/18 20:14:33 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.14 1997/03/20 18:21:35 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@ -217,7 +217,7 @@ int PQgetline(char *s, int maxlen)
}
else
{
for( ; *s; *s++)
for( ; *s; s++)
{
if(*s == '\n')
{