[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: patch: use err, not errno

From: James Morrison
Subject: Re: patch: use err, not errno
Date: Thu, 14 Mar 2002 19:49:28 -0800 (PST)

--- "Thomas Bushnell, BSG" <tb@becket.net> wrote:
> James A Morrison <ja2morri@student.math.uwaterloo.ca> writes:
> > Ok, I've grep'd through the hurd source looking for instances of
> errno being
> > assigned directly.  These seem to be the places where setting
> errno isn't 
> > right.  
> What's the reason for this?

Roland had a good answer for this. I noticed it last week when I
tried to step through part of libnetfs, see last weeks patch.

> > I've also changed !var to var == MACH_PORT_NULL where appropriate
> > because some documentation, mach.texi, says MACH_PORT_NULL is not
> assumed to
> > be 0 in the Hurd system.
> This is always fine.

 Yes, but I wanted to be consistant with the documentation.

James Morrison
   University of Waterloo
   Computer Science - Digital Hardware
   2A co-op

Anyone refering this as 'Open Source' shall be eaten by a GNU

Do You Yahoo!?
Yahoo! Sports - live college hoops coverage

reply via email to

[Prev in Thread] Current Thread [Next in Thread]