Re: [HACKERS] getopts include? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] getopts include?
Date
Msg-id 199808261647.MAA19112@candle.pha.pa.us
Whole thread Raw
In response to getopts include?  (Magnus Hagander <mha@edu.sollentuna.se>)
List pgsql-hackers
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hello!
>
> I've now got the psql program working on Win32 too (I think - I haven't
> tested all that much, but it connects and runs easy queries).
> In order to do this, I had to include getopt.c and getopt.h, since those do
> not exist on Win32. Is it Ok to include these files in the general
> distribution? (the version I have is GPL:ed, there might exist others? I
> seem to recall some discussion about GPLed things included?)
> Also, where should these go? Currently, I have them in bin/psql, but perhaps
> they fit better in the "utils" directory?
>
> I'll send in patches for psql as soon as this is cleared...

psql for Win32 is real nice.  How do we address the getops issue.
Perhaps we can send you the FreeBSD version, and you can try that.  We
certainly can ship that one.

I will e-mail him the FreeBSD ones for testing.
--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] initdb problems
Next
From: The Hermit Hacker
Date:
Subject: Re: TODO (was: Re: [HACKERS] Problem with parser)