Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2aca1d59173d749c62bfc92fed38531e796eb56f
Ticket: 800716ffffffffffffffffffffffffffffffffff
publicize TclWinConvertError and TclWinConvertWSAError
User & Date: davygrvy on 2003-09-04 21:37:59
Changes

  1. assignee changed to: "stwo"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    TclWinConvertError and TclWinConvertWSAError are 
    private internal functions.  They could be very useful to 
    extension authors.  I see a need for it.  Let's make them 
    public.
    
    Also, TclWinConvertWSAError doesn't map to all WSAE* 
    error codes.  Included are mappings to all of them.  
    Unfortunetly, all the added can only return EINVAL until 
    the posix codes they translate into get more meaningful 
    to windows.  Effectively, the behavior is still unchanged.
    
    Example:
    
    WSA_QOS_POLICY_FAILURE,  'rejected for administrative 
    reasons - bad credentials'
    WSAEPROVIDERFAILEDINIT, 'The requested service 
    provider could not be loaded or initialized'
    
    What posix codes do those get?  Some detective work 
    needs to be done with these.  I really don't have a clue.
    
    The main reason I want to enlargen the mappings is to 
    include WSAHOST_NOT_FOUND.  I hate that the 
    [socket] command can only return 'invalid argument' 
    instead of 'authoritative host not found' or 'try again', 
    or ....
    
    Should this really be a TIP?
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "davygrvy"
  9. subsystem changed to: "52. Portability Support"
  10. title changed to:
    publicize TclWinConvertError and TclWinConvertWSAError
    
  11. type changed to: "Patch"