Ticket Hash: | 4a7e8bc052b6ea9895c2ded39125d0678a30322e | |||
Title: | package provide statement in tls.tcl | |||
Status: | Closed | Type: | Feature Request | |
Severity: | Minor | Priority: | Low | |
Subsystem: | Resolution: | Rejected | ||
Last Modified: | 2024-06-29 01:01:51 | |||
Version Found In: | 1.7.19 | |||
User Comments: | ||||
anonymous added on 2019-09-27 08:07:24:
A line of the format package provide Tls 1.7.19 is desirable somewhere in tls.tcl, such that package requests with package require Tls from another program get a positive response that the package is present. rkeene added on 2019-11-14 01:01:46: The Tcl API call Tcl_PkgProvide() is called from Tls_Init() as part of loading the TLS extension. There wouldn't be any advantage to adding it to tls.tcl. What are you trying to accomplish ? anonymous added on 2020-06-29 13:27:49: The "package provide" is a standard feature of RPM build systems; it does not mean that at the time of calling "package provide" some Tls_init() has already happened or is available. We wish to cover situations inside a RPM build to *request* installation of that Tcl package, before running anything *after* the package might have been installed. bohagan added on 2024-06-29 01:01:51: The standard method for performing a package provide is to include it in the source code file that implements the package as part of the initialization function. This ensures the package is only available if it has been successfully loaded and initialized. |