bug-hurd
[Top][All Lists]
Advanced

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

Re: dir_lookup, locking and EINTR


From: Thomas Bushnell BSG
Subject: Re: dir_lookup, locking and EINTR
Date: Wed, 20 Aug 2008 18:56:44 -0700

On Thu, 2008-08-21 at 00:39 +0100, Samuel Thibault wrote:
> That's safer indeed.  To make things simpler, the patch below just
> systematically resets NEWPI and NEWPO to NULL as soon as they don't need
> to be dereferenced, does it look ok?

It does, but "NULL" is entirely unnecessary.  I much prefer setting
pointer variables to "0", which is the way the vast majority of the Hurd
code is written. :)

Thomas






reply via email to

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