1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-28 03:10:56 +01:00

unposted (c.f. Bart: 54112): remove unintended Unicode characters

This commit is contained in:
Oliver Kiddle 2025-11-27 00:32:54 +01:00
parent 8a3ee5a802
commit 5539bc3fd5
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2025-11-27 Oliver Kiddle <opk@zsh.org>
* unposted (c.f. Bart: 54112): Src/params.c: remove Unicode
2025-11-24 Oliver Kiddle <opk@zsh.org>
* Philippe: 54093 (tweaked per 54101): Src/Modules/db_gdbm.c,

View file

@ -2192,7 +2192,7 @@ fetchvalue(Value v, char **pptr, int bracks, int scanflags)
*s = '\0';
if (ppar) {
if (!v)
    v = (Value) zhalloc(sizeof *v);
v = (Value) zhalloc(sizeof *v);
memset(v, 0, sizeof(*v));
v->pm = argvparam;
v->start = ppar - 1;
@ -2252,7 +2252,7 @@ fetchvalue(Value v, char **pptr, int bracks, int scanflags)
}
}
if (!v)
    v = (Value) zhalloc(sizeof *v);
v = (Value) zhalloc(sizeof *v);
memset(v, 0, sizeof(*v));
if (PM_TYPE(pm->node.flags) & (PM_ARRAY|PM_HASHED)) {
/* Overload v->scanflags as the flag bits for hashed arrays. */