diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-22 21:16:21 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-03-22 21:16:21 (GMT) |
commit | 833501b319ba92edcf69ebbecc27cd6b3dbdad0c (patch) | |
tree | bbb369c2ff78179bd7fc8b351272740bddf936ca /win/tclWinPipe.c | |
parent | af7fa225c1d0ec592c7af29ead5922f45c1c15fb (diff) | |
download | tcl-833501b319ba92edcf69ebbecc27cd6b3dbdad0c.zip tcl-833501b319ba92edcf69ebbecc27cd6b3dbdad0c.tar.gz tcl-833501b319ba92edcf69ebbecc27cd6b3dbdad0c.tar.bz2 |
Even more uppercase HEX representations in source-code
Diffstat (limited to 'win/tclWinPipe.c')
-rw-r--r-- | win/tclWinPipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c index 6120358..69c38d4 100644 --- a/win/tclWinPipe.c +++ b/win/tclWinPipe.c @@ -609,7 +609,7 @@ TclpOpenFile( DWORD err; err = GetLastError(); - if ((err & 0xffffL) == ERROR_OPEN_FAILED) { + if ((err & 0xFFFFL) == ERROR_OPEN_FAILED) { err = (mode & O_CREAT) ? ERROR_FILE_EXISTS : ERROR_FILE_NOT_FOUND; } TclWinConvertError(err); @@ -1322,7 +1322,7 @@ ApplicationType( */ attr = GetFileAttributesW(nativeFullPath); - if ((attr == 0xffffffff) || (attr & FILE_ATTRIBUTE_DIRECTORY)) { + if ((attr == 0xFFFFFFFF) || (attr & FILE_ATTRIBUTE_DIRECTORY)) { continue; } strcpy(fullName, Tcl_WinTCharToUtf((TCHAR *)nativeFullPath, -1, &ds)); |