delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/19/10:17:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 19 Sep 2001 16:17:16 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Problems compiling rsync with latest update
Message-ID: <20010919161716.B29581@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20010918184926 DOT D8571 AT redhat DOT com>; <20010919093043 DOT A30884 AT cygbert DOT vinschen DOT de> <3BA8B21A DOT 29039 DOT 2D8C4ACA AT localhost>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <3BA8B21A.29039.2D8C4ACA@localhost>; from gp@familiehaase.de on Wed, Sep 19, 2001 at 02:56:26PM +0200

On Wed, Sep 19, 2001 at 02:56:26PM +0200, Gerrit P. Haase wrote:
> Corinna Vinschen schrieb am 2001-09-19, 9:30:
> >- getopt.h is now automatically included with unistd.h to fulfil
> >  SUSv2 requirements. (Corinna Vinschen)
> 
> Uiuiui, I should be more concentrated when reading...
> I apologize for the williwaw.
> 
> However, I think this is an unneccessary change, and I don't like it.
> I have commented out this part of unistd.h.

Each new version of Cygwin will bring it back, regardless if
you like it or not.  It's a _requirement_ as I wrote above so
it's _by definition_ not unnecessary.

$ man 3 getopt

GETOPT(3)           Linux Programmer's Manual           GETOPT(3)

NAME
       getopt - Parse command line options

SYNOPSIS
       #include <unistd.h>

       int getopt(int argc, char * const argv[],
                  const char *optstring);
[...]


Excerpt from SUSv2:

 The Single UNIX ® Specification, Version 2
 Copyright © 1997 The Open Group 


 NAME
    getopt, optarg, optind, opterr, optopt - command option parsing 

 SYNOPSIS

    #include <unistd.h>

    int getopt(int argc, char * const argv[], const char *optstring);
[...]

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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