[freetds] getopt compatibility

James K. Lowden jklowden at freetds.org
Wed May 28 09:44:37 EDT 2008


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



More information about the FreeTDS mailing list