Mercurial > gnulib
changeset 20373:da70b4d65a74
this conforms to POSIX.2. From Paul Eggert <eggert@twinsun.com>.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Tue, 03 Sep 1996 13:14:57 +0000 |
parents | a34253b1d0bb |
children | 56160f09eda4 |
files | lib/rpmatch.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/rpmatch.c Mon Sep 02 16:18:48 1996 +0000 +++ b/lib/rpmatch.c Tue Sep 03 13:14:57 1996 +0000 @@ -74,8 +74,8 @@ static regex_t yesre, nore; int result; - return ((result = try (response, _("^[yY][[:alpha:]]*"), 1, 0, + return ((result = try (response, _("^[yY]"), 1, 0, &yesexpr, &yesre)) ? result - : try (response, _("^[nN][[:alpha:]]*"), 0, -1, &noexpr, &nore)); + : try (response, _("^[nN]"), 0, -1, &noexpr, &nore)); }