Skip to content
Tcl Source Code View Ticket
Login

View Ticket

fcopy swamp (bytes vs chars), and http package

Open2896758fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 15 years ago
Descriptionplain2009-11-12 17:45:16
This item, based on the discussion below.
For reference see
http://sourceforge.net/support/tracker.php?aid=2895565

[09:24]dgpaku, will the remaining CopyData bug be fixed if we change "bytes" to "chars" in the docs?
[09:24]akuI don't think so.
[09:24]akuIf both channels have identical encoding -> -size is bytes
[09:24]dgpok, so there are still bugs lurking
[09:24]akuIf in channel is binary -> -size is bytes
[09:25]akuAnything else -> -size is characters
[09:25]dgpif channel is binary "bytes" == "chars"
[09:25]dgpmodulo fcopy's weird rules
[09:27]akuHaving a tracker item reminding us of this swamp is certainly a good thing.
[09:28]dgpin particular noting that http package may need to take note of [fcopy]'s unusual treatment of binary channels
ferrieuxplain2009-11-13 03:58:41
I'd strongly advocate a bold POTENTIAL INCOMPATIBILITY, by un-documenting those braindead (rather than "funny") rules, and simplifying the code accordingly. I hereby volunteer to fix, for free, any living script that depends on it.
ferrieux Ticket [2896758fff]: 1 change [History diff]2009-11-13 03:59:26
nijtmans Ticket [2896758fff]: 1 change [History diff]2009-11-19 05:28:18
dgp Ticket [2896758fff]: 1 change [History diff]2009-12-10 02:49:53
ferrieuxplain2011-08-19 22:54:08
Slightly lowering prio; that's not a release blocker.
Log in (anonymous is fine) to add a comment.