Re: 7.4.2 Build broken on (Sparc) Solaris 7 and 8

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: 7.4.2 Build broken on (Sparc) Solaris 7 and 8
Дата
Msg-id 200403141401.i2EE1vA04712@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: 7.4.2 Build broken on (Sparc) Solaris 7 and 8  (jseymour@LinxNet.com (Jim Seymour))
Список pgsql-hackers
Thanks.  Fix applied to CVS head and 7.4.X.

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

Jim Seymour wrote:
> Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > 
> [snip]
> > 
> > (I also see some post-7.4.1 changes in src/template/solaris, so you
> > 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"?
> 
> The above compile error happens on Solaris 7, but not Solaris 8.  So
> next I have to see why the difference and if there *should* be a
> difference.  But I still suspect the above is a coding error.  Let me
> know and, if so, I'll fix it here, look into the other part, and submit
> a patch for it all.
> 
> Regards,
> Jim
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: listening addresses
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: libpq thread safety