1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-10 00:31:07 +02:00
Commit graph

14 commits

Author SHA1 Message Date
Bart Schaefer
6b21e5c0e2 52559: revise "typeset -p" with respect to local readonly special parameters
Update doc and tests to describe handling of global readonly specials and
to account for side-effects on zsh/param/private.
2024-02-20 20:16:03 -08:00
Bart Schaefer
8801665e5b 52513: fixes and doc for using nofork substitutions with private parameters
Also fixes a crash bug with {fd}>&N redirections and private parameters
2024-02-03 12:07:14 -08:00
Bart Schaefer
e3c2af216b 52115: permit repeated "private" declarations as long as types aren't changed 2023-09-05 18:04:09 -07:00
Bart Schaefer
9ff1b2810e users/29220: fix bug with assignment to private following explicit unset 2023-09-03 11:42:00 -07:00
Bart Schaefer
806d096b0e unposted: fix memory leak flagged by coverity 2023-03-05 13:26:57 -08:00
Bart Schaefer
511e020c68 51360: Initial implementation of named references. 2023-02-12 11:21:23 -08:00
Bart Schaefer
285b6c2538 50363: avoid use of heap memory that depends on parameter scoping 2022-06-09 15:10:43 -07:00
Bart Schaefer
fa4c88ca25 49456: clean up detection of private params in nested scopes, update doc 2021-10-04 09:02:27 -07:00
Bart Schaefer
3499a676fa 47704: fix scope for "private -p" 2020-12-02 20:14:45 -08:00
Jun-ichi Takimoto
a4020e10a3 37868: add 'static' to file local variables 2016-02-03 01:25:33 +09:00
Jun T
1d98f77a9b Jun T.: 37759: save more function pointers from realparamtab when hacking in their replacements
Restoring from the original external symbols fails for some dynamic link schemes (e.g. 64bit Cygwin).
2016-01-25 08:28:30 -08:00
Barton E. Schaefer
3d962aacd5 37229: non-local assignment to a parameter name whose outermost declaration is private, is an error rather than a silent no-op.
Also fix %prep sed expression for Solaris.
2015-11-26 12:43:08 -08:00
Barton E. Schaefer
4e90e27036 37208: assignment in a nested scope should not change private parameters in the outer scope from unset to set
Bug remains that the attempt does not generate a warning
2015-11-23 21:43:14 -08:00
Barton E. Schaefer
d3d5325d27 37081: new module zsh/param/private for private-scoped parameters in functions 2015-11-08 16:19:37 -08:00