1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-08-11 15:01:16 +02:00

41151: propagate flags when creating new parameter

This commit is contained in:
Sebastian Gniazdowski 2017-05-28 13:17:26 -07:00 committed by Barton E. Schaefer
parent ca0607c4c2
commit 284b5aaeb0
2 changed files with 4 additions and 1 deletions

View file

@ -3,6 +3,9 @@
* Sebastian: 41153: Src/Modules/db_gdbm.c: finish module setup * Sebastian: 41153: Src/Modules/db_gdbm.c: finish module setup
only after all error conditions have been checked 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 * unposted: Doc/Zsh/mod_complist.yo: clarify ZLS_COLORS pattern
matching contexts matching contexts

View file

@ -645,7 +645,7 @@ static Param createhash( char *name, int flags ) {
Param pm; Param pm;
HashTable ht; HashTable ht;
pm = createparam(name, PM_SPECIAL | PM_HASHED); pm = createparam(name, flags | PM_SPECIAL | PM_HASHED);
if (!pm) { if (!pm) {
return NULL; return NULL;
} }