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...

//Magnus

Wed, 26 Aug 1998 16:40:15 +0200
Magnus Hagander <mha@edu.sollentuna.se>
getopts include?
[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)

Wed, 26 Aug 1998 12:47:11 -0400 (EDT)
Bruce Momjian <maillist@candle.pha.pa.us>
Re: [HACKERS] getopts include?
On Wed, Aug 26, 1998 at 04:40:15PM +0200, Magnus Hagander wrote:
> 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).

Sounds great.

> 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?) 

Using GPLed parts is a problem. AFAIK it forces you to put the whole program
under GPL. Not exactly what we want.

Michael
-- 
Michael Meskes			meskes@online-club.de, meskes@debian.org
Go SF49ers! Go Rhein Fire!	Use Debian GNU/Linux! 

Wed, 26 Aug 1998 20:29:49 +0200
Michael Meskes <meskes@online-club.de>
Re: [HACKERS] getopts include?