Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 04a31b4f0a4dc6801ebb86524108f9cda83fd569dd00129abde18ffd027b02b2
Ticket: 31fedb885e801f4cc41c7b1f4438e27ce4a3667f
Tcl_ExprLong documentation omission
User & Date: jan.nijtmans on 2025-03-26 19:54:44
Changes

  1. icomment:
    In the code, I see this:
    <pre>
        if (*exprstring == '\0') {
            /*
             * Legacy compatibility - return 0 for the zero-length string.
             */
    
            *ptr = 0;
        } else {
    </pre>
    
    This tells me that this behavior was not intended, but kept for
    compatibility with old versions of Tcl.
    
    Wouldn't it be better to fix this behavior, generating an error-message in this case?
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"