Re: [HACKERS] backend hba.c prob

2001-09-12 Thread Patrick Welche
On Fri, Sep 07, 2001 at 04:05:58PM -0400, Bruce Momjian wrote: ... OK, I have modified the CVS CREDS code to work on FreeBSD and BSD/OS, and hopefully NetBSD. I talked to Jason at Linuxworld and I think this code should work. Please test the CVS version and let me know. OpenBSD doesn't

Re: [HACKERS] backend hba.c prob

2001-09-12 Thread Bruce Momjian
On Fri, Sep 07, 2001 at 04:05:58PM -0400, Bruce Momjian wrote: ... OK, I have modified the CVS CREDS code to work on FreeBSD and BSD/OS, and hopefully NetBSD. I talked to Jason at Linuxworld and I think this code should work. Please test the CVS version and let me know. OpenBSD

[HACKERS] backend hba.c prob

2001-09-07 Thread Patrick Welche
gcc -O2 -pipe -g -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include -c -o hba.o hba.c hba.c: In function `ident_unix': hba.c:923: sizeof applied to an incomplete type hba.c:960: dereferencing pointer to incomplete type hba.c:965: dereferencing pointer to incomplete type

Re: [HACKERS] backend hba.c prob

2001-09-07 Thread Tom Lane
Patrick Welche [EMAIL PROTECTED] writes: hba.c: In function `ident_unix': hba.c:923: sizeof applied to an incomplete type Now, the problem is sizeof(Cred), typedef struct cmsgcred Cred, and I don't have a cmsgcred anywhere! That's new code and we expected some portability issues with it :-(

Re: [HACKERS] backend hba.c prob

2001-09-07 Thread Patrick Welche
On Fri, Sep 07, 2001 at 10:14:27AM -0400, Tom Lane wrote: Patrick Welche [EMAIL PROTECTED] writes: hba.c: In function `ident_unix': hba.c:923: sizeof applied to an incomplete type Now, the problem is sizeof(Cred), typedef struct cmsgcred Cred, and I don't have a cmsgcred anywhere!

Re: [HACKERS] backend hba.c prob

2001-09-07 Thread bpalmer
On Fri, 7 Sep 2001, Bruce Momjian wrote: gcc -O2 -pipe -g -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include -c -o hba.o hba.c hba.c: In function `ident_unix': hba.c:923: sizeof applied to an incomplete type hba.c:960: dereferencing pointer to incomplete type

Re: [HACKERS] backend hba.c prob

2001-09-07 Thread Bruce Momjian
On Fri, Sep 07, 2001 at 10:14:27AM -0400, Tom Lane wrote: Patrick Welche [EMAIL PROTECTED] writes: hba.c: In function `ident_unix': hba.c:923: sizeof applied to an incomplete type Now, the problem is sizeof(Cred), typedef struct cmsgcred Cred, and I don't have a cmsgcred