1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-09 09:06:38 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Oliver Kiddle 7139d3b286 52783: allow for unset hash element 2024-03-20 23:40:23 +01:00
Oliver Kiddle cd5ae4a909 unposted: remove reference to fp_PROG_CC_STDC macro which was removed in 52750 2024-03-20 23:35:05 +01:00
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2024-03-20 Oliver Kiddle <opk@zsh.org>
* 52783: Src/Modules/hlgroup.c: allow for unset hash element
* unposted: configure.ac: remove reference to fp_PROG_CC_STDC
macro which was removed in 52750
2024-03-18 Oliver Kiddle <opk@zsh.org>
* 52770: Completion/Linux/Command/_selinux: handle newrole

View File

@ -91,7 +91,8 @@ getgroup(const char *name, int sgr)
if (!(v = getvalue(&vbuf, &var, 0)) ||
PM_TYPE(v->pm->node.flags) != PM_HASHED ||
!(hlg = v->pm->gsu.h->getfn(v->pm)) ||
!(hn = gethashnode2(hlg, name)))
!(hn = gethashnode2(hlg, name)) ||
(((Param) hn)->node.flags & PM_UNSET))
{
pm->u.str = dupstring("");
pm->node.flags |= PM_UNSET;

View File

@ -552,8 +552,6 @@ case "$host_os" in
darwin[[0-9]].*) CPP="$CPP -traditional-cpp" ;;
esac
fp_PROG_CC_STDC
AC_FUNC_ALLOCA dnl Check how to get `alloca'.
dnl If the compiler supports union initialisation