RE: [HACKERS] Current 6.3 issues

Michael Meskes <meskes@topsystem.de>

From: "Meskes, Michael" <meskes@topsystem.de>
To: "'t-ishii@sra.co.jp'" <t-ishii@sra.co.jp>, Michael Meskes <meskes@topsystem.de>
Cc: pgsql-hackers@postgresql.org
Date: 1998-02-27T13:52:26Z
Lists: pgsql-hackers
But this isn't declared in postmaster.c either. ecpg.c does include
unistd.h if getopt.h does not exist and I think unistd.h is the one that
puts the getopt stuff into postmaster.

Michael

--
Dr. Michael Meskes, Project-Manager    | topsystem Systemhaus GmbH
meskes@topsystem.de                    | Europark A2, Adenauerstr. 20
meskes@debian.org                      | 52146 Wuerselen
Go SF49ers! Go Rhein Fire!             | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux!                  | Fax: (+49) 2405/4670-10

> -----Original Message-----
> From:	t-ishii@sra.co.jp [SMTP:t-ishii@sra.co.jp]
> Sent:	Friday, February 27, 1998 2:30 PM
> To:	Michael Meskes
> Cc:	pgsql-hackers@postgresql.org
> Subject:	Re: [HACKERS] Current 6.3 issues
> 
> 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