Commit 1d3c4e7
committed
Change approach with version req in cache file magic cookie
Version in magic cookie of cache files was previously set to the current
version of Modules. As a result, only the same Modules version would be
able to use cache file generated.
This is changed to enable use of cache files by several Modules release.
Only a cache format change would imply a magic cookie version upgrade.
So as of now, the version required is set to 5.3. This will change if
the cache format evolves (with new cache file Tcl commands or a change
in the arguments of the existing commands).
Version requirement is set to 5.3 as commands in cache files as not been
changed since the introduction of the cache feature in Modules 5.3
release.
Signed-off-by: Xavier Delaruelle <[email protected]>1 parent 4a675b6 commit 1d3c4e7
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
190 | | - | |
| 189 | + | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments