Re: again pgcrypto

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Marko Kreen <marko(at)l-t(dot)ee>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: again pgcrypto
Date: 2001-11-30 17:39:25
Message-ID: 200111301739.fAUHdRC17769@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Patch applied. Thanks.

---------------------------------------------------------------------------

>
> * include <endian.h> is not enough, include sys/types.h too
> everywhere.
>
> At least it was now detected correctly.
>
> --
> marko
>
>
> Index: contrib/pgcrypto/crypt-des.c
> ===================================================================
> RCS file: /opt/cvs/pgsql/pgsql/contrib/pgcrypto/crypt-des.c,v
> retrieving revision 1.8
> diff -u -r1.8 crypt-des.c
> --- contrib/pgcrypto/crypt-des.c 29 Nov 2001 19:40:37 -0000 1.8
> +++ contrib/pgcrypto/crypt-des.c 29 Nov 2001 23:09:06 -0000
> @@ -64,7 +64,6 @@
> #include "px-crypt.h"
>
> /* for ntohl/htonl */
> -#include <sys/types.h>
> #include <netinet/in.h>
>
> #define _PASSWORD_EFMT1 '_'
> Index: contrib/pgcrypto/px.h
> ===================================================================
> RCS file: /opt/cvs/pgsql/pgsql/contrib/pgcrypto/px.h,v
> retrieving revision 1.6
> diff -u -r1.6 px.h
> --- contrib/pgcrypto/px.h 29 Nov 2001 19:40:37 -0000 1.6
> +++ contrib/pgcrypto/px.h 29 Nov 2001 23:09:27 -0000
> @@ -32,6 +32,7 @@
> #ifndef __PX_H
> #define __PX_H
>
> +#include <sys/types.h>
> #ifdef HAVE_ENDIAN_H
> #include <endian.h>
> #endif
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-11-30 19:25:05 Re: Microtiming patch for psql (reprise)
Previous Message Weiping He 2001-11-30 15:06:26 updated zh_CN NLS patch