Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #1715
Closed (moved) (moved)
Open
Created Jul 20, 2010 by Trac@tracbot

Remove old unused win code.

After 8d31141ccbdbeee9589d04ea99819af7aa35193b no more chance for non WinNT platforms. Moreover no was chances for dns stuff. Guess CE have more Tor users than 9x/Me. --- eventdns.c.was Tue May 25 04:57:58 2010 +++ eventdns.c Tue Jul 20 13:00:56 2010 @@ -3227,7 +3227,6 @@ }

#define SERVICES_KEY L"System\CurrentControlSet\Services\" -#define WIN_NS_9X_KEY SERVICES_KEY L"VxD\MSTCP" #define WIN_NS_NT_KEY SERVICES_KEY L"Tcpip\Parameters"

static int @@ -3269,16 +3268,6 @@ TRY(interfaces_key, "DhcpNameServer"); RegCloseKey(interfaces_key); RegCloseKey(nt_key);

  • } else {

  •   HKEY win_key = 0;
  •   if (RegOpenKeyExW(HKEY_LOCAL_MACHINE, WIN_NS_9X_KEY, 0,
  •   				 KEY_READ, &win_key) != ERROR_SUCCESS) {
  •   	log(EVDNS_LOG_DEBUG, "Couldn't open registry key, %d", (int)GetLastError());
  •   	return -1;
  •   }
  •   TRY(win_key, "NameServer");
  •   RegCloseKey(win_key);
  • }

    if (found == 0) { log(EVDNS_LOG_WARN,"Didn't find any nameservers.");

Amen.

Trac:
Username: mingw-san

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking