Share

Tcl

Code

Programming Languages: C, Tcl

License: BSD License

Repositories

browse code, statistics, last commit on 2009-11-09 cvs -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl login

cvs -z3 -d:pserver:anonymous@tcl.cvs.sourceforge.net:/cvsroot/tcl co -P modulename

Show:

What's happening?

  • Comment: [close] discards buffered data when no space left on device

    You are misunderstanding the snippet. It looks for a bypass message, yes, and moves such a message up for use by the caller, yes. When there is no message in the bypass then the regular reporting of whatever is in errno should happen. The bypass stuff will happen only if it is used by a channel driver (see tclIORefChan/tclIORefTrans.c), and otherwise the regular error reporting is in effect...

    2009-11-09 18:38:30 UTC by andreas_kupries

  • Comment: [close] discards buffered data when no space left on device

    I think it is in the code beginning at line 3042 of tclIO.c: /* * When the channel has an escape sequence driven encoding such as * iso2022, the terminated escape sequence must write to the buffer. */ [...] WriteChars(chanPtr, "", 0); [...] if (statePtr->chanMsg != NULL) { if (interp != NULL) { Tcl_SetChannelErrorInterp(interp,statePtr->chanMsg); }.

    2009-11-09 17:28:53 UTC by ferrieux

  • Comment: [close] discards buffered data when no space left on device

    I can't see where the error is getting lost. Channel close-down is really rather complex... :-(.

    2009-11-09 16:44:17 UTC by dkf

  • Tcl

    dkf committed patchset 11562 of module tcl to the Tcl CVS repository, changing 3 files.

    2009-11-09 13:47:23 UTC by dkf

  • Comment: TIP #348: Substituted errorStack

    Added documentatoin in catch.n and info.n.

    2009-11-09 13:26:40 UTC by ferrieux

  • Tcl

    dkf committed patchset 11561 of module tcl to the Tcl CVS repository, changing 1 files.

    2009-11-08 20:18:43 UTC by dkf

  • Tcl

    dkf committed patchset 11560 of module tcl to the Tcl CVS repository, changing 1 files.

    2009-11-08 20:01:18 UTC by dkf

  • Tcl

    dkf committed patchset 11559 of module tcl to the Tcl CVS repository, changing 1 files.

    2009-11-08 19:56:45 UTC by dkf

  • Comment: Win README recommends outdated msys 0.8

    There is no need to specify a version. Just suggest fetching the latest version of msys and mingw.

    2009-11-07 21:15:06 UTC by patthoyts

  • file stat fails on locked files on win32

    On Windows the page file c:\pagefile.sys is always open and locked. In NativeAccess we try using GetFileAttributes but this will return ERROR_SHARING_VIOLATION and -1, leading Tcl to believe the file does not exist. Similar code is in NativeStat fails for the same reason. So we cannot currently test for the existence or size or mtime for this file. However if we then try FindFirstFile for the...

    2009-11-07 10:21:21 UTC by patthoyts

Our Numbers