Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ade8952022ba489dd3fd3266bd2ecf0502fa661976f9ef9ab839ac752e16fd5f
Ticket: 85b7226da1ecf6194342f802ff4361bfc75b8a34
scan of data containing 0x, 0b treated differently to 0d,0o
User & Date: juliannoble2 on 2023-08-28 13:02:23
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    P% scan 0x11 %x
    -  17
    P% scan 0b11 %b
    -  3
    P% scan 0d11 %d
    -  0
    P% scan 0o11 %o
    -  0
    
    expected 11 for the decimal scan and 9 for the octal one.
    
    The man page doesn't make it obvious to me that scan 0x11 should return 17 rather than 0 - but it seems this has worked for a while - so my guess is that decimal and octal should be updated to match the binary and hex behaviour.
    
  5. foundin changed to: "8.6,8.7,9"
  6. is_private changed to: "0"
  7. login: "juliannoble2"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "957fdfcd8744611e3fe1f4896c7538b1d9bf47b2"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "juliannoble2"
  14. subsystem changed to: "11. Conversions from String"
  15. title changed to:
    scan of data containing 0x, 0b treated differently to 0d,0o
    
  16. type changed to: "Bug"