Branch: Tag:

2001-03-14

2001-03-14 15:45:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backported Windows XP64 workaround from Pike 7.3.

Rev: lib/modules/Protocols.pmod/DNS.pmod:1.56

4:   //! module Protocols   //! submodule DNS    - //! $Id: DNS.pmod,v 1.55 2001/02/02 15:17:06 tomas Exp $ + //! $Id: DNS.pmod,v 1.56 2001/03/14 15:45:00 grubba Exp $      #pike __REAL_VERSION__   
423: Inside #if defined(__NT__)
   }      #if constant(RegGetKeyNames) +  /* Catch if RegGetKeyNames() doesn't find the directory. */ +  catch {    foreach(RegGetKeyNames(HKEY_LOCAL_MACHINE,    "SYSTEM\\CurrentControlSet\\Services\\Tcpip\\"    "Parameters\\Interfaces"), string key)
433: Inside #if defined(__NT__) and #if constant(RegGetKeyNames)
   "Parameters\\Interfaces\\" + key, val) });    };    } +  };   #endif    return sizeof(res) ? res : ({ fallbackvalue });    }