www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/02/05/19:43:19

From: ian AT cygnus DOT com (Ian Lance Taylor)
Subject: Re: Question about getopt in Cygwin32
5 Feb 1998 19:43:19 -0800 :
Message-ID: <199802060341.WAA20238.cygnus.cygwin32.developers@subrogation.cygnus.com>
References: <199802060311 DOT TAA23947 AT rtl DOT cygnus DOT com>
Reply-To: cygwin32-developers AT cygnus DOT com
To: cygwin32-developers AT cygnus DOT com

   From: Geoffrey Noer <noer AT cygnus DOT com>
   Date: Thu, 5 Feb 1998 19:11:33 -0800 (PST)

   And after my latest change, they aren't.  Should we include a version of
   getopt in libcygwin.a?  What about in cygwin.dll as an exported
   function?

I don't think we should include getopt in cygwin.dll.  getopt
communicates using several variables--optind, opterr, etc.--and DLLs
do not provide convenient access to variables.

If we did put getopt in cygwin.dll, we would have to fix up the getopt
header file to make the right happen by default.

I have no opinion about whether we should put it in libcygwin.a.

Ian

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019