diff options
author | stanton <stanton> | 1999-03-10 05:50:24 (GMT) |
---|---|---|
committer | stanton <stanton> | 1999-03-10 05:50:24 (GMT) |
commit | 55a16b674b012b4b946869b89d0a389c419dc564 (patch) | |
tree | 9669c8e81b617040fe157e06fa1fef038cd80192 /win | |
parent | 78fd70c5b692ba5346a7c00addcc18de7a1bb7cd (diff) | |
download | tcl-dev_stubs_branch.zip tcl-dev_stubs_branch.tar.gz tcl-dev_stubs_branch.tar.bz2 |
* tools/genStubs.tcl: Reorganized code to support mixed generic
dev_stubs_branch
and platform specific tables.
* generic/tclInt.decls: Removed TclCompile*Cmd routines from the
table.
* generic/tcl.decls: Moved old Unix fd handler routines into
generic table and modified stubs ordering to match the plus patch.
* win/tclWinChan.c (FileSeekProc): Fixed bug where errors during
seeking were not getting propagated.
Diffstat (limited to 'win')
-rw-r--r-- | win/tclWinChan.c | 3 | ||||
-rw-r--r-- | win/tclWinPort.h | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/win/tclWinChan.c b/win/tclWinChan.c index 3d2c4e6..23603dc 100644 --- a/win/tclWinChan.c +++ b/win/tclWinChan.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinChan.c,v 1.4 1999/01/04 19:25:05 rjohnson Exp $ + * RCS: @(#) $Id: tclWinChan.c,v 1.4.4.1 1999/03/10 05:50:29 stanton Exp $ */ #include "tclWinInt.h" @@ -454,6 +454,7 @@ FileSeekProc(instanceData, offset, mode, errorCodePtr) newPos = SetFilePointer(infoPtr->handle, offset, NULL, moveMethod); if (newPos == 0xFFFFFFFF) { TclWinConvertError(GetLastError()); + *errorCodePtr = errno; return -1; } return newPos; diff --git a/win/tclWinPort.h b/win/tclWinPort.h index a8a9128..641837e 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinPort.h,v 1.6.4.2 1999/03/04 00:59:55 stanton Exp $ + * RCS: @(#) $Id: tclWinPort.h,v 1.6.4.3 1999/03/10 05:50:30 stanton Exp $ */ #ifndef _TCLWINPORT @@ -351,8 +351,6 @@ #define TclPlatformExit(status) exit(status) -#include "tclPlatDecls.h" - /* * The following prototypes and defines replace the Windows versions * of POSIX function that various compiler vendors didn't implement @@ -363,6 +361,7 @@ #define TclpReleaseFile(file) ckfree((char *) file) +#include "tclPlatDecls.h" #include "tclIntPlatDecls.h" # undef TCL_STORAGE_CLASS |