]> sourceware.org Git - newlib-cygwin.git/commitdiff
Drop autoloading kernel32 symbols available since Vista
authorCorinna Vinschen <corinna@vinschen.de>
Tue, 15 Dec 2015 15:43:55 +0000 (16:43 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 24 Jun 2016 19:07:39 +0000 (21:07 +0200)
winsup/cygwin/autoload.cc
winsup/cygwin/fhandler_tty.cc

index 0f55c1e962c150f78e63b29c08d85d68237a96cb..265a0214f0f95316c9e173f7e7a9d3a3f48c7cc8 100644 (file)
@@ -577,14 +577,9 @@ LoadDLLfunc (GetUdpTable, 12, iphlpapi)
 LoadDLLfunc (if_indextoname, 8, iphlpapi)
 LoadDLLfunc (if_nametoindex, 4, iphlpapi)
 
-LoadDLLfunc (CreateSymbolicLinkW, 12, kernel32)
 LoadDLLfuncEx2 (DiscardVirtualMemory, 8, kernel32, 1, 127)
 LoadDLLfuncEx (GetLogicalProcessorInformationEx, 12, kernel32, 1)
-LoadDLLfuncEx (GetNamedPipeClientProcessId, 8, kernel32, 1)
 LoadDLLfunc (GetSystemTimePreciseAsFileTime, 4, kernel32)
-LoadDLLfuncEx (IdnToAscii, 20, kernel32, 1)
-LoadDLLfuncEx (IdnToUnicode, 20, kernel32, 1)
-LoadDLLfunc (LocaleNameToLCID, 8, kernel32)
 LoadDLLfuncEx (PrefetchVirtualMemory, 16, kernel32, 1)
 LoadDLLfunc (SetThreadGroupAffinity, 12, kernel32)
 
index a9189adc6d7eb6c1a81821b08d75efdf55a0fbe9..bf912ffba72fca7a40443dd6f059f15050868c99 100644 (file)
@@ -1556,9 +1556,6 @@ fhandler_pty_master::pty_master_thread ()
          termios_printf ("ReadFile, %E");
          goto reply;
        }
-      /* This function is only available since Vista, unfortunately.
-        In earlier OSes we simply have to believe that the client
-        has no malicious intent (== sends arbitrary PIDs). */
       if (!GetNamedPipeClientProcessId (master_ctl, &pid))
        pid = req.pid;
       if (get_object_sd (input_available_event, sd))
This page took 0.031463 seconds and 5 git commands to generate.