Differences From Artifact [aa15be036b]:
- File generic/tclIOUtil.c — part of check-in [9d86f86f41] at 2024-08-27 11:23:50 on branch unchained — Merge [22e66b7f413a16ea]: Fix [e155cedf33]: Error-handling in TclGetOpenMode(). (user: pooryorick size: 124216) [more...]
To Artifact [1bb5ee129e]:
- File generic/tclIOUtil.c — part of check-in [176e45cc06] at 2024-08-27 12:28:57 on branch unchained — Merge [93e55377dc46846b]: "Use Tcl_NewBooleanObj for booleans; we should say what we mean", "Style cleanup, plus added comments on memory management", "Possibly a fix for [080f846fd58958ef]: When updating the interest of a channel, don't schedule the channel handler timer if a nonblocking channel doesn't yet have a buffer or if the buffer is empty or overflowing. Where asynchronous connection state is concerned, this should mean that the time won't be scheduled if the initial connection isn't established.", and "A few more small changes". (user: pooryorick size: 124216) [more...]
| ︙ | ︙ | |||
2073 2074 2075 2076 2077 2078 2079 |
Tcl_Interp *interp) /* Interpreter to set the errorCode of */
{
const char *id, *msg;
msg = Tcl_ErrnoMsg(errno);
id = Tcl_ErrnoId();
if (interp) {
| | | 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 |
Tcl_Interp *interp) /* Interpreter to set the errorCode of */
{
const char *id, *msg;
msg = Tcl_ErrnoMsg(errno);
id = Tcl_ErrnoId();
if (interp) {
Tcl_SetErrorCode(interp, "POSIX", id, msg, (char *)NULL);
}
return msg;
}
/*
*----------------------------------------------------------------------
*
|
| ︙ | ︙ |