Tcl Source Code

View Ticket
Login
Ticket UUID: 2896758
Title: fcopy swamp (bytes vs chars), and http package
Type: Bug Created on: 2009-11-12 17:45:16
Submitter: andreas_kupries Assigned to: andreas_kupries
Subsystem: 24. Channel Commands Severity:
Priority: 8 Last modified: 2011-08-19 22:54:08
Status: Open Closed by:
Resolution: None Closed on:
Version: obsolete: 8.5.7
Description:
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
User Comments:
ferrieux added on 2009-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 added on 2011-08-19 22:54:08:
Slightly lowering prio; that's not a release blocker.