perl5
perl5 copied to clipboard
win32_isatty() dont call a mostly failing syscall, NT->WIN err conv is slow
GetFileType() has shortcuts, it first checks against -1 -2 -3, then checks
against PEB's 3 master IN, OUT, ERR kernel handles, then checks if it is
tagged/unaligned [open secret, not frozen API], and only then does the
NtRequestWaitReplyPort() RPC call to csrss.exe instead of
NtQueryVolumeInformationFile(). GetFileType() from kernel32.dll is different
from GetFileType() in kernelbase.dll.
- This set of changes does not require a perldelta entry.