summaryrefslogtreecommitdiffstats
path: root/win/tclWinChan.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-22 21:24:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-22 21:24:31 (GMT)
commite1c726c81937a898424ddc4efeb08262ccd4755e (patch)
tree502147314fb725f5fc8545272795979254136ba1 /win/tclWinChan.c
parenta6d607576155cf58086383d54e11cfea63080e5d (diff)
parent833501b319ba92edcf69ebbecc27cd6b3dbdad0c (diff)
downloadtcl-e1c726c81937a898424ddc4efeb08262ccd4755e.zip
tcl-e1c726c81937a898424ddc4efeb08262ccd4755e.tar.gz
tcl-e1c726c81937a898424ddc4efeb08262ccd4755e.tar.bz2
Merge 8.6
Diffstat (limited to 'win/tclWinChan.c')
-rw-r--r--win/tclWinChan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinChan.c b/win/tclWinChan.c
index b13dbd2..544c000 100644
--- a/win/tclWinChan.c
+++ b/win/tclWinChan.c
@@ -980,7 +980,7 @@ TclpOpenFileChannel(
if (handle == INVALID_HANDLE_VALUE) {
DWORD err = GetLastError();
- if ((err & 0xffffL) == ERROR_OPEN_FAILED) {
+ if ((err & 0xFFFFL) == ERROR_OPEN_FAILED) {
err = TEST_FLAG(mode, O_CREAT) ? ERROR_FILE_EXISTS
: ERROR_FILE_NOT_FOUND;
}
@@ -1172,7 +1172,7 @@ Tcl_MakeFileChannel(
"leal 1f, %%eax" "\n\t"
"movl %%eax, 0x4(%%edx)" "\n\t" /* handler */
"movl %%ebp, 0x8(%%edx)" "\n\t" /* ebp */
- "movl %%esp, 0xc(%%edx)" "\n\t" /* esp */
+ "movl %%esp, 0xC(%%edx)" "\n\t" /* esp */
"movl $0, 0x10(%%edx)" "\n\t" /* status */
/*
@@ -1212,7 +1212,7 @@ Tcl_MakeFileChannel(
*/
"2:" "\t"
- "movl 0xc(%%edx), %%esp" "\n\t"
+ "movl 0xC(%%edx), %%esp" "\n\t"
"movl 0x8(%%edx), %%ebp" "\n\t"
"movl 0x0(%%edx), %%eax" "\n\t"
"movl %%eax, %%fs:0" "\n\t"