diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Src/glob.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 27c6fee98..33f3f90de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2022-12-02 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> + * 51080: Src/glob.c: allow multibyte characters in glob qualifier + (u:uname:) + * 51079: Src/params.c, Test/D06subscript.ztst: metafy sep in the array subscript flag (s:sep:) so that sep can contain \0 etc. diff --git a/Src/glob.c b/Src/glob.c index 400be12d5..490bafc37 100644 --- a/Src/glob.c +++ b/Src/glob.c @@ -1481,7 +1481,7 @@ zglob(LinkList list, LinkNode np, int nountok) sav = *tt; *tt = '\0'; - if ((pw = getpwnam(s + arglen))) + if ((pw = getpwnam(unmeta(s + arglen)))) data = pw->pw_uid; else { zerr("unknown username '%s'", s + arglen); |