]> sourceware.org Git - newlib-cygwin.git/commit
* fhandler_registry.cc (DEFAULT_VALUE_NAME): Remove constant.
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 16 Dec 2008 09:20:05 +0000 (09:20 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 16 Dec 2008 09:20:05 +0000 (09:20 +0000)
commit2cc8b9e014944e2a68bd9ea9f36d7d259f0c76b1
treeee6832ad439025475f022027c52d0df84ddff367
parent1348f65bb94a4b0af58f2c6c842d18a6435a8996
* fhandler_registry.cc (DEFAULT_VALUE_NAME): Remove constant.
(encode_regname): Encode empty (default) name to "@".
Encode "@" to "%40".  Change error return to -1.
(decode_regname): Decode "@" to empty name.  Decode "%40" to "@".
(fhandler_registry::exists): Skip check for keys if name is empty.
Remove check for DEFAULT_VALUE_NAME, now handled by decode_regname ().
(fhandler_registry::readdir): Remove check for empty name, now
handled by encode_regname ().
(fhandler_registry::open): Remove check for DEFAULT_VALUE_NAME.
(fhandler_registry::open_key): Fail with ENOENT if key name is empty.
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_registry.cc
This page took 0.027785 seconds and 5 git commands to generate.