Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 37a862a79d6ba210a2eadba1343e59d5dc389a2b366bbe13453feaa15f5884d8
Ticket: 5d6de65036f6ecd229c8c46e591aae520547968a
[package require] misses stable options with stable preference
User & Date: dgp on 2017-11-03 16:11:02
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    First posted in a stackoverlow question:
    
    https://stackoverflow.com/questions/47099580/tcl-package-require-loads-the-wrong-package-version
    
    % package prefer
    stable
    % package ifneeded p 1.4a1 {package provide p 1.4a1}
    % package ifneeded p 1.1 {package provide p 1.1}
    % package require p 1.1
    1.4a1
    
    The search loop in PkgRequireCore() is simply wrong.
    
  5. foundin changed to: "8.5+"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Severe"
  11. status changed to: "Open"
  12. submitter changed to: "dgp"
  13. subsystem changed to: "39. Package Manager"
  14. title changed to:
    [package require] misses stable options with stable preference
    
  15. type changed to: "Bug"