Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 098b1b246324b093178678bf92183449b55c67b2
Ticket: 440916ffffffffffffffffffffffffffffffffff
compat/strtoul.c fails tests
User & Date: das on 2001-09-05 07:26:44
Changes

  1. icomment:
    Logged In: YES 
    user_id=90580
    
    Ah yes, thanks, I forgot to mention that, the strtol() in 
    strtol.c has the same problems w.r.t to error reporting (i.e. 
    there is none), moreover when adding error reporting to 
    strtol one can't call strtoul anymore as the information 
    necessary to determine strtol error conditions isn't passed 
    back...
    which is why I put them both into the same file and call a 
    common private_strtoul() function. So indeed compat/strtoul.c 
    can go away.
    
    There is no reason for the leading __ to private_strtoul, 
    you're correct it's better to leave them off; sorry about 
    that. The only reason they are there is that the code I 
    looked at for guidance had something similar...
    
    Thanks for looking into the const issues.
    
    
    
  2. login: "das"
  3. mimetype: "text/plain"
  4. username: "das"