Re: [HACKERS] Current 6.3 issues

From: t-ishii(at)sra(dot)co(dot)jp (Tatsuo Ishii)
To: Michael Meskes <meskes(at)topsystem(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org (PostgreSQL Hacker)
Subject: Re: [HACKERS] Current 6.3 issues
Date: 1998-02-27 13:30:13
Message-ID: 199802271327.WAA24324@meshsv26.tk.mesh.ad.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sra(dot)co(dot)jp

Browse pgsql-hackers by date

  From Date Subject
Next Message D'Arcy J.M. Cain 1998-02-27 13:45:09 Money type display
Previous Message D'Arcy J.M. Cain 1998-02-27 13:05:23 Re: [HACKERS] INT2OID, etc.