Re: [HACKERS] Current 6.3 issues

Поиск
Список
Период
Сортировка
От t-ishii@sra.co.jp (Tatsuo Ishii)
Тема Re: [HACKERS] Current 6.3 issues
Дата
Msg-id 199802271327.WAA24324@meshsv26.tk.mesh.ad.jp
обсуждение исходный текст
Список pgsql-hackers
At 11:27 AM 98.2.27 +0100, Michael Meskes wrote:
>> Another problem is SunOS does not have getopt(). Possible solutions
>> might be:
>>
>> a. steal getopt(3) source from FreeBSD
>> b. rewrite main.c so that it does not use getopt().
>>
>> I would prefer (a) since it would be easier:-) How do you think?
>
>Ehem, how do we solve this in the backend? It does use getopt, too.

Sorry, I was wrong. Maybe I saw a dream:-)
The truth is SunOS does *have* getopt() but does not have getopt.h.
So we need to declare followings somewhere in ecpg.c.

extern char *optarg;
extern int  optind;
---
Tatsuo Ishii
t-ishii@sra.co.jp


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

Предыдущее
От: darcy@druid.net (D'Arcy J.M. Cain)
Дата:
Сообщение: Re: [HACKERS] INT2OID, etc.
Следующее
От: darcy@druid.net (D'Arcy J.M. Cain)
Дата:
Сообщение: Money type display