delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/16/15:18:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <n2m-g.c5phti.3vv6lgp.1@buzzy-box.bavag>
X-Newsgroups: local.ml.cygwin
From: Bas van Gompel <cygwin DOT buzz AT bavag DOT tmfweb DOT nl>
Subject: Re: reentrant functions
References: <20040407044353 DOT GA6805 AT panix DOT com> <20040407194643 DOT GM26558 AT cygbert DOT vinschen DOT de> <n2m-g DOT c54g74 DOT 3vv9r8p DOT 1 AT buzzy-box DOT bavag> <20040408200223 DOT GD931 AT coc DOT bosbc DOT com> <n2m-g DOT c551ql DOT 3vvb145 DOT 1 AT buzzy-box DOT bavag> <20040409010034 DOT GA3252 AT coc DOT bosbc DOT com> <n2m-g DOT c55888 DOT 3vv9tgd DOT 1 AT buzzy-box DOT bavag> <20040409040156 DOT GA4342 AT coe> <n2m-g DOT c56rth DOT 3vveivt DOT 1 AT buzzy-box DOT bavag> <20040414091214 DOT GH26558 AT cygbert DOT vinschen DOT de>
In-Reply-To: <20040414091214.GH26558@cygbert.vinschen.de>
Organisation: Ehm...
User-Agent: slrn/0.9.8.0 (Win32) Hamster/2.0.5.0
To: cygwin AT cygwin DOT com
Reply-To: cygwin AT cygwin DOT com
Lines: 57
Date: Fri, 16 Apr 2004 21:18:24 +0200 (MET DST)
X-IsSubscribed: yes

Op Wed, 14 Apr 2004 11:12:14 +0200
schreef Corinna Vinschen <corinna-cygwin van cygwin.com>
in <20040414091214 DOT GH26558 AT cygbert DOT vinschen DOT de>:
:  I just had a look into this again.
:
:  On Apr  9 19:18, Bas van Gompel wrote:
: > Ok then, another try...
: >
: > Candidates getgrgid_r, getgrnam_r and getlogin_r are not
: > implemented.
:
:  I'm wondering a bit about getgrgid_r and getgrnam_r.  As you noted
:  below, we have getpwnam_r and getpwuid_r so why did nobody implement
:  the group functions so far?  Weird.

Indeed.

: > ttyname_r appears to be implemented only for linux
: > (in newlib/libc/sys/linux/ttyname_r.c).
: >
: > ctime_r, asctime_r, getpwnam_r, getpwuid_r, gmtime_r, localtime_r,
: > strerror_r and strtok_r are already exported.
: >
: > That leaves:
: > ====
: > rand_r
: > readdir_r
: > ====
:
:  Which actually leaves rand_r.  readdir_r is using the getdent interface
:  which we don't have.  Our readdir is a home brew which implies that we
:  need our own readdir_r implementation.
:
: > Is this any better?
:
:  Yes, I've added rand_r to the list of exports and implemented ttyname_r
:  as a start.

Great!

:  I'm also positivly hoping for volunteers implementing getgrgid_r,
:  getgrnam_r, getlogin_r and readdir_r.

I'm willing...

I've got most of readdir_r implemented, testing...
I'll look at the others next.

I guess I'll have to go send a transcontinental snail...

L8r,

Buzz.
-- 
  ) |  | ---/ ---/  Yes, this | This message consists of true | I do not
--  |  |   /    /   really is |   and false bits entirely.    | mail for
  ) |  |  /    /    a 72 by 4 +-------------------------------+ any1 but
--  \--| /--- /---  .sigfile. |   |perl -pe "s.u(z)\1.as."    | me. 4^re

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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