Thread: pgsql-server/src include/port.h port/thread.c

pgsql-server/src include/port.h port/thread.c

From
momjian@svr1.postgresql.org (Bruce Momjian)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    momjian@svr1.postgresql.org    03/09/05 14:43:40

Modified files:
    src/include    : port.h
    src/port       : thread.c

Log message:
    ifdef out pqGetpwuid() because Win32 doesn't have struct passwd.

    Needed for libpq builds, not just for native Win32 port, and probably
    for cygwin too.


Re: pgsql-server/src include/port.h port/thread.c

From
"Marc G. Fournier"
Date:
goign to commit this to the WIN32_DEV branch too? :)

On Fri, 5 Sep 2003, Bruce Momjian wrote:

> CVSROOT:    /cvsroot
> Module name:    pgsql-server
> Changes by:    momjian@svr1.postgresql.org    03/09/05 14:43:40
>
> Modified files:
>     src/include    : port.h
>     src/port       : thread.c
>
> Log message:
>     ifdef out pqGetpwuid() because Win32 doesn't have struct passwd.
>
>     Needed for libpq builds, not just for native Win32 port, and probably
>     for cygwin too.
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly
>

Re: pgsql-server/src include/port.h port/thread.c

From
Bruce Momjian
Date:
Marc G. Fournier wrote:
>
> goign to commit this to the WIN32_DEV branch too? :)
>
> On Fri, 5 Sep 2003, Bruce Momjian wrote:
>
> > CVSROOT:    /cvsroot
> > Module name:    pgsql-server
> > Changes by:    momjian@svr1.postgresql.org    03/09/05 14:43:40
> >
> > Modified files:
> >     src/include    : port.h
> >     src/port       : thread.c
> >
> > Log message:
> >     ifdef out pqGetpwuid() because Win32 doesn't have struct passwd.
> >
> >     Needed for libpq builds, not just for native Win32 port, and probably
> >     for cygwin too.

Yes. Actually, I put in a bunch of non-MinGW WIN32 fixes in the past few
days, so I am going to get CVS head to compile under MinGW, as it used
to do, then backpatch the entire thing into the WIN32 branch.  I assume
there isn't an easy way to do that.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

Re: pgsql-server/src include/port.h port/thread.c

From
"Marc G. Fournier"
Date:

On Fri, 5 Sep 2003, Bruce Momjian wrote:

> Marc G. Fournier wrote:
> >
> > goign to commit this to the WIN32_DEV branch too? :)
> >
> > On Fri, 5 Sep 2003, Bruce Momjian wrote:
> >
> > > CVSROOT:    /cvsroot
> > > Module name:    pgsql-server
> > > Changes by:    momjian@svr1.postgresql.org    03/09/05 14:43:40
> > >
> > > Modified files:
> > >     src/include    : port.h
> > >     src/port       : thread.c
> > >
> > > Log message:
> > >     ifdef out pqGetpwuid() because Win32 doesn't have struct passwd.
> > >
> > >     Needed for libpq builds, not just for native Win32 port, and probably
> > >     for cygwin too.
>
> Yes. Actually, I put in a bunch of non-MinGW WIN32 fixes in the past few
> days, so I am going to get CVS head to compile under MinGW, as it used
> to do, then backpatch the entire thing into the WIN32 branch.  I assume
> there isn't an easy way to do that.

my understanding is that its easy to bring *up* from a branch, but don't
knwo about pushing down into one ...