Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Mac: [fconfigure $socket -error] fails

Closed / Fixed483575ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 24 years ago
Descriptionplain2001-11-19 21:16:23
Apparently [fconfigure $socket -error] has not
been implemented on the Mac platform, but the
documentation say nothing about this platform
inconsistency.

This is bad because the http package makes use
of this interface.
andreas_kupriesplain2001-12-07 04:22:28
Logged In: YES 
user_id=75003

I am giving this to Jim Ingham as I don't know anything 
about socket handling on the Mac platform. Other choices 
would be Daniel Steffen and Jeff Hobbs.
wolfsuitplain2001-12-07 05:12:03
Logged In: YES 
user_id=169107

Would the http package mostly work if the Mac socket code just quietly ignored this fconfigure?  Neither Daniel or I are terribly familiar with the Mac Socket code, which is very old & crusty.
andreas_kupriesplain2001-12-07 05:48:31
Logged In: YES 
user_id=75003

I don't know. Jeff ?
And if yes, assign back to me and I do the code to ignore 
this option.
hobbsplain2002-02-26 06:59:15
Logged In: YES 
user_id=72656

We should quietly ignore this on the Mac, with a big FIX 
comment.  Then pass this on to Daniel Steffen or Jim to do 
any "correct" implementation.
andreas_kupriesplain2002-02-26 09:46:53
File Added - 18439: 483575.diff

Logged In: YES 
user_id=75003

Enclosed a patch which causes mac fconfigure to ignore the
option.
andreas_kupriesplain2002-02-26 09:51:39
Logged In: YES 
user_id=75003

This patch is now commited to both 8.4cvs (HEAD) and
8.3.4cvs (core-8-3-1-branch).

We have to verify that the code still builds.
andreas_kupries Ticket [483575ffff]: 1 change [History diff]2002-02-28 03:42:37
andreas_kupries Ticket [483575ffff]: 2 changes [History diff]2002-02-28 03:42:51
andreas_kupries Ticket [483575ffff]: 1 change [History diff]2002-03-21 04:25:52
dgpplain2002-06-22 00:05:58
Logged In: YES 
user_id=80530


is this fixed now?
hobbsplain2002-06-22 00:11:02
Logged In: YES 
user_id=72656

Andreas has commited the fix, if there is a build problem, it 
should be reopened under another report.
Log in (anonymous is fine) to add a comment.

Attachments: