delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/15/07:54:45

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
Message-ID: <3BCACD7B.46E34F2A@syntrex.com>
Date: Mon, 15 Oct 2001 13:50:19 +0200
From: Pavel Tsekov <ptsekov AT syntrex DOT com>
Organization: Syntrex Inc.
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: [PATCH] Newlib unistd.h missing the prototype for fchdir
References: <3BCAC19E DOT 4B46E6F8 AT syntrex DOT com>

Hmm.. I had to put it in the #if  defined (__CYGWIN__) 
:)

However.. It's just a simple patch everyone can type it
by hand - the more important thing is that is good to
add  this thing in the header file.

Pavel Tsekov wrote:
> 
> Attached is a patch which add the missing prototype.
> 
>   ------------------------------------------------------------------------
> --- unistd.h.orig       Mon Oct 15 12:57:19 2001
> +++ unistd.h    Mon Oct 15 12:57:51 2001
> @@ -19,6 +19,7 @@ void  _EXFUN(_exit, (int __status ) _ATTR
>  int    _EXFUN(access,(const char *__path, int __amode ));
>  unsigned  _EXFUN(alarm, (unsigned __secs ));
>  int     _EXFUN(chdir, (const char *__path ));
> +int     _EXFUN(fchdir, (int fd ));
>  int     _EXFUN(chmod, (const char *__path, mode_t __mode ));
>  int     _EXFUN(chown, (const char *__path, uid_t __owner, gid_t __group ));
>  #if defined(__CYGWIN__) || defined(__rtems__)
> 
>   ------------------------------------------------------------------------

--
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