* fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA.

(registry_keys): Drop HKEY_DYN_DATA.
	* net.cc: Fix comment.
	* syslog.cc: Ditto.
This commit is contained in:
Corinna Vinschen 2007-02-26 12:39:25 +00:00
parent 457c7938f0
commit 14e06cca26
5 changed files with 18 additions and 16 deletions

View File

@ -1,3 +1,10 @@
2007-02-26 Corinna Vinschen <corinna@vinschen.de>
* fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA.
(registry_keys): Drop HKEY_DYN_DATA.
* net.cc: Fix comment.
* syslog.cc: Ditto.
2007-02-26 Corinna Vinschen <corinna@vinschen.de> 2007-02-26 Corinna Vinschen <corinna@vinschen.de>
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Drop comment. * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Drop comment.

View File

@ -1,6 +1,6 @@
/* fhandler_registry.cc: fhandler for /proc/registry virtual filesystem /* fhandler_registry.cc: fhandler for /proc/registry virtual filesystem
Copyright 2002, 2003, 2003, 2004, 2005, 2006 Red Hat, Inc. Copyright 2002, 2003, 2003, 2004, 2005, 2006, 2007 Red Hat, Inc.
This file is part of Cygwin. This file is part of Cygwin.
@ -46,7 +46,6 @@ static const char *registry_listing[] =
"HKEY_CURRENT_USER", "HKEY_CURRENT_USER",
"HKEY_LOCAL_MACHINE", "HKEY_LOCAL_MACHINE",
"HKEY_USERS", "HKEY_USERS",
"HKEY_DYN_DATA", // 95/98/Me
"HKEY_PERFORMANCE_DATA", // NT/2000/XP "HKEY_PERFORMANCE_DATA", // NT/2000/XP
NULL NULL
}; };
@ -60,7 +59,6 @@ static const HKEY registry_keys[] =
HKEY_CURRENT_USER, HKEY_CURRENT_USER,
HKEY_LOCAL_MACHINE, HKEY_LOCAL_MACHINE,
HKEY_USERS, HKEY_USERS,
HKEY_DYN_DATA,
HKEY_PERFORMANCE_DATA HKEY_PERFORMANCE_DATA
}; };

View File

@ -1,6 +1,6 @@
/* minires-os-if.c. Stub synchronous resolver for Cygwin. /* minires-os-if.c. Stub synchronous resolver for Cygwin.
Copyright 2006 Red Hat, Inc. Copyright 2006, 2007 Red Hat, Inc.
Written by Pierre A. Humblet <Pierre.Humblet@ieee.org> Written by Pierre A. Humblet <Pierre.Humblet@ieee.org>

View File

@ -1413,7 +1413,7 @@ done:
} }
/* /*
* IFCONF 98/ME, NTSP4, W2K: * IFCONF NTSP4, W2K:
* Use IP Helper Library * Use IP Helper Library
*/ */
static void static void

View File

@ -30,8 +30,7 @@ details. */
#define CYGWIN_LOG_NAME "Cygwin" #define CYGWIN_LOG_NAME "Cygwin"
/* openlog: save the passed args. Don't open the /* openlog: save the passed args. Don't open the system log or /dev/log yet. */
system log (NT) or log file (95) yet. */
extern "C" void extern "C" void
openlog (const char *ident, int logopt, int facility) openlog (const char *ident, int logopt, int facility)
{ {
@ -259,15 +258,13 @@ try_connect_syslogd (int priority, const char *msg, int len)
return ret; return ret;
} }
/* /* syslog: creates the log message and writes to /dev/log, or to the
* syslog: creates the log message and writes to system NT system log if /dev/log isn't available.
* log (NT) or log file (95). FIXME. WinNT log error messages
* don't look pretty, but in order to fix this we have to FIXME. WinNT system log messages don't look pretty, but in order to
* embed resources in the code and tell the NT registry fix this we have to embed resources in the code and tell the NT
* where we are, blech (what happens if we move ?). registry where we are, blech (what happens if we move ?). We could,
* We could, however, add the resources in Cygwin and however, add the resources in Cygwin and always point to that. */
* always point to that.
*/
extern "C" void extern "C" void
vsyslog (int priority, const char *message, va_list ap) vsyslog (int priority, const char *message, va_list ap)