Skip to Content.
Sympa Menu

freetds - Re: [freetds] getopt compatibility

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "James K. Lowden" <jklowden AT freetds.org>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] getopt compatibility
  • Date: Wed, 28 May 2008 09:44:37 -0400

ZIGLIO, Frediano, VF-IT wrote:
>
> > so there's no need even to test HAVE_OPTRESET:
> >
> > static int
> > reset_getopt(void)
> > {
> > optreset = 1;
> > optind = 1;
> > }
> >
> > which of course means we don't need the funciton at all. :-)
> >
>
> I think this patch summarize the thread. It works on HP-UX 11.11 and
> Linux glibc 2.5

Nice work, Freddy. I applied it to both branches.

--jkl




Archive powered by MHonArc 2.6.24.

Top of Page