Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2005-10-14
01:30 • Closed ticket [1264637fff]: NO_ERRNO_H plus 8 other changes artifact: 473082f172 user: dgp
01:27 • Ticket [1264637fff]: 4 changes artifact: fe9fe5e63b user: dgp
01:27 • Ticket [1264637fff]: 4 changes artifact: ff81909c23 user: dgp
01:27 • Add attachment 1264637.patch to ticket [1264637fff] artifact: 383ec212ef user: dgp
2005-09-21
22:21 • Ticket [1264637fff] NO_ERRNO_H status still Open with 4 other changes artifact: 7f69dc93ed user: dgp
22:21 • Ticket [1264637fff]: 4 changes artifact: d03c4eb5c7 user: dgp
21:10 • Ticket [1264637fff]: 4 changes artifact: 59b784c394 user: jenglish
2005-08-20
05:16 • New ticket [1264637fff]. artifact: a88f090ffb user: dgp

NO_ERRNO_H

Closed / Fixed1264637fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-08-20 05:16:54
Both tclUnixPort.h and
tclWinPort.h unconditionally
#include <errno.h>.

In the few places where
NO_ERRNO_H is tested,
there's really no point, because
by then we've already included
errno.h, or had a compiler failure.

Seems all the pretense of
honoring NO_ERRNO_H
can be abandoned, along with
attempts to make use of
an internal-to-Tcl errno variable
(based in tclExecute.c).
jenglishplain2005-09-21 21:10:50
Logged In: YES 
user_id=68433

> Seems all the pretense of honoring NO_ERRNO_H can be
abandoned,

That would be safe to do.

> along with attempts to make use of an internal-to-Tcl
errno variable

That would be a very good idea.
dgpplain2005-09-21 22:21:12
Logged In: YES 
user_id=80530


here's a patch.
dgpplain2005-09-21 22:21:23
File Added - 149893: 1264637.patch
dgpplain2005-10-14 01:27:38
Logged In: YES 
user_id=80530


updated patch
(post-237 merge)
dgpplain2005-10-14 01:27:39
File Deleted - 149893: 



File Added - 152422: 1264637.patch
dgpplain2005-10-14 01:30:28
Logged In: YES 
user_id=80530

committed to HEAD
Log in (anonymous is fine) to add a comment.

Attachments: