mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-07-26 21:51:03 +02:00
41151: propagate flags when creating new parameter
This commit is contained in:
parent
ca0607c4c2
commit
284b5aaeb0
2 changed files with 4 additions and 1 deletions
|
@ -3,6 +3,9 @@
|
|||
* Sebastian: 41153: Src/Modules/db_gdbm.c: finish module setup
|
||||
only after all error conditions have been checked
|
||||
|
||||
* Sebastian: 41151: Src/Modules/db_gdbm.c: propagate flags when
|
||||
creating new parameter
|
||||
|
||||
* unposted: Doc/Zsh/mod_complist.yo: clarify ZLS_COLORS pattern
|
||||
matching contexts
|
||||
|
||||
|
|
|
@ -645,7 +645,7 @@ static Param createhash( char *name, int flags ) {
|
|||
Param pm;
|
||||
HashTable ht;
|
||||
|
||||
pm = createparam(name, PM_SPECIAL | PM_HASHED);
|
||||
pm = createparam(name, flags | PM_SPECIAL | PM_HASHED);
|
||||
if (!pm) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue