Mercurial > octave
comparison NEWS @ 26175:6e1a800dd365
eliminate brace and variable expansion in PATH search code
* kpse.cc (expansions): Delete static variable.
(IS_VAR_START, IS_VAR_CHAR, IS_VAR_BEGIN_DELIMITER,
IS_VAR_END_DELIMITER): Delete macros.
(kpse_var_expand, kpse_expand, brace_expand, expanding,
expanding_p, expand): Delete static functions.
(search): Call kpse_tilde_expand instead of kpse_expand.
(kpse_path_expand): Call kpse_path_expand on elements instead of
calling kpse_brace_expand on the entire path.
* NEWS: Note change.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 06 Dec 2018 23:16:16 -0500 |
parents | 0a145a1600e3 |
children | ef0998af70f9 |
comparison
equal
deleted
inserted
replaced
26174:94fc8648f0fe | 26175:6e1a800dd365 |
---|---|
143 This argument was typically used to allow functions that accept | 143 This argument was typically used to allow functions that accept |
144 function names as arguments to avoid conflicts with subfunctions or | 144 function names as arguments to avoid conflicts with subfunctions or |
145 nested functions. Instead, it's best to avoid this situation | 145 nested functions. Instead, it's best to avoid this situation |
146 entirely and require users to pass function handles rather than | 146 entirely and require users to pass function handles rather than |
147 function names. | 147 function names. |
148 | |
149 ** The path handling functions no longer perform variable or brace | |
150 expansion on path elements and Octave's load-path is no longer | |
151 subject to these expansions. | |
148 | 152 |
149 ** New functions added in 5.0: | 153 ** New functions added in 5.0: |
150 | 154 |
151 clearvars | 155 clearvars |
152 isfile | 156 isfile |