• Bruce Momjian's avatar
    > (I also see some post-7.4.1 changes in src/template/solaris, so you · b76c536e
    Bruce Momjian authored
    > possibly should look there too.)
    [snip]
    >
    
    I think I have the fix for part of it, but this remains...
    
        gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
        -Wmissing-declarations -fPIC -I. -I../../../src/include
        -D_POSIX_PTHREAD_SEMANTICS -DFRONTEND
        -DSYSCONFDIR='"/usr/local/pgsql/etc"'  -c -o thread.o thread.c
        thread.c: In function `pqGethostbyname':
        thread.c:189: error: `resbuf' undeclared (first use in this
    function)
    
    Looking at src/port/thread.c, line 189, it looks like somebody typo'd.
    Looks like that second parameter should be "resultbuf", not "resbuf"?
    
    Jim Seymour
    b76c536e
thread.c 5.11 KB