This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Internal get{pw,gr}XX calls


On Fri, Nov 29, 2002 at 06:45:01PM +0100, Corinna Vinschen wrote:
> That means:  If the id string is invalid or empty (stp == src) or the
> character after the number is not a colon (*stp != ':'), set src to the end of
> the string (*src == '\0'), else set src to the next character after

Reviewing the own mail before sending it seems to be a good idea.
That was the first idea, moving the src pointer.  Then I saw that
it's way easier to return -1.

Corinna

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]