[Tcl-bugs] [Tcl] (anonymous) tkt (New): Safe Source Alias noisy - works badly with package

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Tcl-bugs] [Tcl] (anonymous) tkt (New): Safe Source Alias noisy - works badly with package

akupries
Automated mail by fx, on behalf of [hidden email]

Ticket Change [a1f8303be11f60440ec31a3a1c588b6530fd9099]
  [Safe Source Alias noisy - works badly with package]
  By      anonymous
  For     Tcl
  On      2017-07-14T08:57:55.872
  Details https://core.tcl.tk/tcl/tinfo?name=a1f8303be11f60440ec31a3a1c588b6530fd9099
  Ticket  https://core.tcl.tk/tcl/tktview/f3ba57600d0b0f29d6d3f8e5d26c1f17a8594cdb

Changed Fields
  assignee:   nobody
  closer:     nobody
  comment:    safe.tcl line 670 reads:  return -code error "no such file or
              directory"

              Should read:  return -code error -errorcode "POSIX EACCES" "no such
              file or directory"

              Reason being, package.tcl expects that errorcode, else it bleats about
              not being able to load a pkgIndex.tcl file ... the Source Alias
              function in safe.tcl doesn't properly emulate native [source].

              Colin
  foundin:    8.6
  is_private: 0
  login:      anonymous
  priority:   5 Medium
  resolution: None
  severity:   Minor
  status:     Open
  submitter:  anonymous
  subsystem:  33. Safe Base
  title:      Safe Source Alias noisy - works badly with package
  type:       Bug

------------------------------------------------------------
See Tcl/Tk development @ http://core.tcl.tk/
------------------------------------------------------------

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Tcl-Bugs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tcl-bugs
Loading...