diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-12-08 11:45:18 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-12-08 11:45:18 +0000 |
commit | d27ebea92356f6460f851e9e9d997de25c9c6390 (patch) | |
tree | 2e01edc4954a1890032c19ab158fd5ea9dd2a96f /winsup/cygwin/ChangeLog | |
parent | 448832a927c6ba674031f2093eead51e290b9959 (diff) | |
download | newlib-d27ebea92356f6460f851e9e9d997de25c9c6390.zip newlib-d27ebea92356f6460f851e9e9d997de25c9c6390.tar.gz newlib-d27ebea92356f6460f851e9e9d997de25c9c6390.tar.bz2 |
* fhandler_registry.cc (encode_regname): Add Parameter add_val.
Append "%val" if add_val is set.
(decode_regname): Remove trailing "%val". Change returncode accordingly.
(__DIR_hash): New class.
(d_hash): New macro.
(key_exists): New function.
(fhandler_registry::exists): Remove encode of registry name before path
compare, decode file part of path instead. Skip checks for keys if
trailing "%val" detected.
(fhandler_registry::fstat): Change check of return value of
decode_regname ().
(fhandler_registry::readdir): Allocate __DIR_hash. Record key names in
hash table. Append "%val" if key with same name exists. Fix error
handling of encode_regname (). Set dirent.d_type.
(fhandler_registry::closedir): Delete __DIR_hash.
(fhandler_registry::open): Don't open key if trailing "%val" detected
by decode_regname ().
(open_key): Ditto.
Diffstat (limited to 'winsup/cygwin/ChangeLog')
-rw-r--r-- | winsup/cygwin/ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 1ea6196..fdbe3f5 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,24 @@ +2008-12-07 Christian Franke <franke@computer.org> + + * fhandler_registry.cc (encode_regname): Add Parameter add_val. + Append "%val" if add_val is set. + (decode_regname): Remove trailing "%val". Change returncode accordingly. + (__DIR_hash): New class. + (d_hash): New macro. + (key_exists): New function. + (fhandler_registry::exists): Remove encode of registry name before path + compare, decode file part of path instead. Skip checks for keys if + trailing "%val" detected. + (fhandler_registry::fstat): Change check of return value of + decode_regname (). + (fhandler_registry::readdir): Allocate __DIR_hash. Record key names in + hash table. Append "%val" if key with same name exists. Fix error + handling of encode_regname (). Set dirent.d_type. + (fhandler_registry::closedir): Delete __DIR_hash. + (fhandler_registry::open): Don't open key if trailing "%val" detected + by decode_regname (). + (open_key): Ditto. + 2008-12-03 Pierre A. Humblet <Pierre.Humblet@ieee.org> * libc/minires.c (open_sock): Set non blocking and close on exec. |