Re: [PATCH] False positive from access(/proc/registry/..., F_OK)

2011-05-05 Thread Corinna Vinschen
On May 4 22:09, Christian Franke wrote: * fhandler_registry.cc (fhandler_registry::exists): Fix regression in EACCES handling. (fhandler_registry::open): Fix %val case. Applied with the EACCESS typo noted by Eric fixed. Thanks, Corinna -- Corinna Vinschen

[PATCH] False positive from access(/proc/registry/..., F_OK)

2011-05-04 Thread Christian Franke
Corinna Vinschen wrote: On Apr 27 12:26, Christian Franke wrote: access(/proc/registry/..., F_OK) returns 0 for all (including nonexistent) entries below a registry key which cannot be opened: ... Problem was likely introduced by fhandler_registry.cc change 1.52:

Re: [PATCH] False positive from access(/proc/registry/..., F_OK)

2011-05-04 Thread Eric Blake
On 05/04/2011 02:09 PM, Christian Franke wrote: Done, tested and attached. Christian { + /* Key does not exist or open failed with EACCESS, + enumerate subkey and value names of parent key. */ EACCES, not EACCESS. -- Eric Blake ebl...@redhat.com