mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-06-13 04:56:30 +02:00
Revert 40626 which broke tests.
This commit is contained in:
parent
4b8db48c6b
commit
c7048cd88f
|
@ -1,3 +1,8 @@
|
||||||
|
2017-02-25 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||||
|
|
||||||
|
* 40644: Src/Modules/parameter.c, Test/V06parameter.ztst:
|
||||||
|
Revert 40626 which broke tests.
|
||||||
|
|
||||||
2017-02-25 Barton E. Schaefer <schaefer@zsh.org>
|
2017-02-25 Barton E. Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
* 40640 (plus doc typo fixed): Doc/Zsh/expn.yo, Src/subst.c: the
|
* 40640 (plus doc typo fixed): Doc/Zsh/expn.yo, Src/subst.c: the
|
||||||
|
@ -10,7 +15,7 @@
|
||||||
to the completion.
|
to the completion.
|
||||||
|
|
||||||
* 40626: Src/Modules/parameter.c, Test/V06parameter.ztst:
|
* 40626: Src/Modules/parameter.c, Test/V06parameter.ztst:
|
||||||
Make $options re-settable.
|
Make $options re-settable. [reverted in 40644]
|
||||||
|
|
||||||
2017-02-23 Barton E. Schaefer <schaefer@zsh.org>
|
2017-02-23 Barton E. Schaefer <schaefer@zsh.org>
|
||||||
|
|
||||||
|
|
|
@ -937,7 +937,7 @@ unsetpmoption(Param pm, UNUSED(int exp))
|
||||||
|
|
||||||
/**/
|
/**/
|
||||||
static void
|
static void
|
||||||
setpmoptions(Param pm, HashTable ht)
|
setpmoptions(UNUSED(Param pm), HashTable ht)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
HashNode hn;
|
HashNode hn;
|
||||||
|
@ -962,7 +962,7 @@ setpmoptions(Param pm, HashTable ht)
|
||||||
(val && strcmp(val, "off")), 0, opts))
|
(val && strcmp(val, "off")), 0, opts))
|
||||||
zwarn("can't change option: %s", hn->nam);
|
zwarn("can't change option: %s", hn->nam);
|
||||||
}
|
}
|
||||||
hashsetfn(pm, ht);
|
deleteparamtable(ht);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct gsu_scalar pmoption_gsu =
|
static const struct gsu_scalar pmoption_gsu =
|
||||||
|
|
|
@ -92,9 +92,6 @@
|
||||||
>foo
|
>foo
|
||||||
>bar
|
>bar
|
||||||
|
|
||||||
options+=(); options+=()
|
|
||||||
0:$options can be appended to twice
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
|
|
||||||
rm -f autofn functrace.zsh rocky3.zsh sourcedfile myfunc
|
rm -f autofn functrace.zsh rocky3.zsh sourcedfile myfunc
|
||||||
|
|
Loading…
Reference in New Issue