Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-02-08
16:06 • Ticket [503565ffff] TIP 27: tclIO.c, etc. status still Closed with 3 other c... artifact: 2253b6a95a user: dkf
2002-01-16
01:10 • Ticket [503565ffff]: 4 changes artifact: 37221a70d8 user: dgp
01:10 • Ticket [503565ffff]: 6 changes artifact: 959992db2c user: dgp
01:10 • Add attachment io.patch to ticket [503565ffff] artifact: 9826574d1e user: dgp
01:02 • Ticket [503565ffff] TIP 27: tclIO.c, etc. status still Closed with 6 other c... artifact: 72b7ebc3a5 user: andreas_kupries
00:53 • Ticket [503565ffff]: 4 changes artifact: 28fca2e2f0 user: dgp
00:52 • Closed ticket [503565ffff]. artifact: 3cf82b2c0a user: dgp
2002-01-15
10:22 • Ticket [503565ffff]: 4 changes artifact: 34294f5ef7 user: andreas_kupries
10:20 • Ticket [503565ffff]: 6 changes artifact: e09db200ec user: andreas_kupries
05:26 • Ticket [503565ffff]: 4 changes artifact: 2b6f8165de user: dgp
2002-01-14
22:26 • New ticket [503565ffff]. artifact: 3f6a2bca10 user: dgp

TIP 27: tclIO.c, etc.

Closed / Accepted503565ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-01-14 22:26:39
Here's a patch implementing TIP 27 
(CONST-ification of APIs) for the 
file generic/tclIO.c. 
It includes necessary changes to docs and 
headers. 

Note that Tcl's Channel Driver API is also
CONST-fied and all internal channel drivers
are updated to the new interface.  See also
Tcl Bug 500348].

Assigned to maintainer for review.
dgpplain2002-01-15 05:26:53
File Added - 16056: io.patch
andreas_kupriesplain2002-01-15 10:20:50
Logged In: YES 
user_id=75003

OpenFileChnl.3: Tcl_WriteRaw, "bytePtr" is not described in
the section ARGUMENTS. Same for "readPtr" of Tcl_ReadRaw.
"readBuf" of Tcl_Read is described.

The API changes look good. Application of patch flawless. 
Linux: Compilation ok. Testsuite ok (0 errors).

A general question came to me while looking  the patch: I
noticed one place where a string is duplicated. Can we rely
on the existence of "strdup" ? And if not would it be worthy
to have a compat/strdup ?

The patch is good. Back to submitting maintainer for
application to the CVS.
andreas_kupriesplain2002-01-15 10:22:35
Logged In: YES 
user_id=75003

Clarification: The things I noted in the manpage are
marginal, thus I decided that the patch is applicable.
dgpplain2002-01-16 00:52:59
Logged In: YES 
user_id=80530

Here's an updated patch addressing those points and
a general documentation cleanup.  Also it moves the
Tcl_EolTranslation enum from tcl.h to tclInt.h because
that is not used anywhere in Tcl's public interface.

Committed to HEAD (8.4a4).
dgpplain2002-01-16 00:53:00
File Deleted - 16056:
andreas_kupriesplain2002-01-16 01:02:21
Logged In: YES 
user_id=75003

There are no files attached right now
dgpplain2002-01-16 01:10:05
Logged In: YES 
user_id=80530

trying again...
(or just get it from CVS now).
dgpplain2002-01-16 01:10:13
File Added - 16119: io.patch
dkf Ticket [503565ffff]: 3 changes [History diff]2002-02-08 16:06:05
Log in (anonymous is fine) to add a comment.

Attachments: