mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-03 10:20:49 +02:00
allow FIGNORE suffixes to match entire pathnames; allow SIGINT received while a function is executing in a loop to break the loop
This commit is contained in:
+1
-1
@@ -3074,7 +3074,7 @@ name_is_acceptable (const char *name)
|
||||
|
||||
for (nlen = strlen (name), p = fignore.ignores; p->val; p++)
|
||||
{
|
||||
if (nlen > p->len && p->len > 0 && STREQ (p->val, &name[nlen - p->len]))
|
||||
if (nlen >= p->len && p->len > 0 && STREQ (p->val, &name[nlen - p->len]))
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user