At  2:52 PM 98.2.27 +0100, Meskes, Michael wrote:
>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.

I see declarations of optarg and optind in backend/postmaster/postmaster.c
around line 216 in Feb 28 snapshot.
---
Tatsuo Ishii
t-ishii@sra.co.jp


Sun, 1 Mar 1998 11:07:42 +0900
t-ishii@sra.co.jp (Tatsuo Ishii)
RE: [HACKERS] Current 6.3 issues
Yes, you're right. This should be changed in ecpg.c, too. Could you please
submit a patch for a version that works for you?

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

Tue, 3 Mar 1998 15:06:14 +0100 (CET)
Michael Meskes <meskes@topsystem.de>
Re: [HACKERS] Current 6.3 issues
>Yes, you're right. This should be changed in ecpg.c, too. Could you please
>submit a patch for a version that works for you?

Sure. I will submit patches the day after tomorrow (sorry, I don't have
time for that now).
--
Tatsuo Ishii
t-ishii@sra.co.jp

Tue, 03 Mar 1998 23:41:56 +0900
t-ishii@sra.co.jp
Re: [HACKERS] Current 6.3 issues 
>Yes, you're right. This should be changed in ecpg.c, too. Could you please
>submit a patch for a version that works for you?

Here it is.
--
Tatsuo Ishii
t-ishii@sra.co.jp
--------------------------- cut here ---------------------------
*** ecpg.c.orig	Fri Feb 27 21:59:06 1998
--- ecpg.c	Thu Mar  5 10:36:10 1998
***************
*** 9,14 ****
--- 9,16 ----
  #include <getopt.h>
  #else
  #include <unistd.h>
+ extern int optind;
+ extern char *optarg;
  #endif
  #include <stdlib.h>
  #if defined(HAVE_STRING_H)

Thu, 05 Mar 1998 10:41:18 +0900
t-ishii@sra.co.jp
Re: [HACKERS] Current 6.3 issues 