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
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
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
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 :-(
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!
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
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