diff options
Diffstat (limited to 'archivers/lha/files/patch-patmatch.c')
-rw-r--r-- | archivers/lha/files/patch-patmatch.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/archivers/lha/files/patch-patmatch.c b/archivers/lha/files/patch-patmatch.c new file mode 100644 index 000000000000..81952985e802 --- /dev/null +++ b/archivers/lha/files/patch-patmatch.c @@ -0,0 +1,11 @@ +--- src/patmatch.c.orig 2000-10-04 14:57:38 UTC ++++ src/patmatch.c +@@ -20,7 +20,7 @@ patmatch(p, s, f) + { + char pc; /* a single character from pattern */ + +- while (pc = ((f && islower(*p)) ? toupper(*p++) : *p++)) { ++ while ((pc = ((f && islower(*p)) ? toupper(*p++) : *p++))) { + if (pc == '*') { + do { /* look for match till s exhausted */ + if (patmatch(p, s, f)) |