1
0
Fork 0
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:
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
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

View file

@ -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;
}