mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 06:12:01 +01:00
xargs: compile yesexpr as ERE
yesexpr is an extended regular expression for quite some time now, use appropriate flag when compiling it. PR: 238762 Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D27509
This commit is contained in:
parent
10aeb6cdab
commit
0d2dcf2166
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=368580
@ -782,7 +782,7 @@ prompt(void)
|
||||
(void)fprintf(stderr, "?...");
|
||||
(void)fflush(stderr);
|
||||
if ((response = fgetln(ttyfp, &rsize)) == NULL ||
|
||||
regcomp(&cre, nl_langinfo(YESEXPR), REG_BASIC) != 0) {
|
||||
regcomp(&cre, nl_langinfo(YESEXPR), REG_EXTENDED) != 0) {
|
||||
(void)fclose(ttyfp);
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user