Subject: Re: New Beta ready

From: Kazushi (Jam) Marukawa <[email-masked]>
Date: Tue, 11 Jul 1995 07:51:23 +0900

On Jun 29,  3:02, Stan Barber wrote:
   > Subject: New Beta ready
   > 
   > I hope to make this the 2.4.2 release, so let me know about bugs ASAP.

I guess that we need following patch about usage of fnmatch in access.c.

--- Kazushi Maruakwa.

diff -au ./src/access.c.orig ./src/access.c
--- ./src/access.c.orig	Thu Jun 29 16:35:04 1995
+++ ./src/access.c	Tue Jul 11 03:07:53 1995
@@ -350,7 +350,7 @@
         if (!strcasecmp(ARG0, "yes"))
             l_compress = 1;
         for (which = 1; (which < MAXARGS) && ARG[which]; which++) {
-            if (fnmatch(ARG[which], class, NULL)) {
+            if (!fnmatch(ARG[which], class, NULL)) {
                 mangleopts |= l_compress * (O_COMPRESS | O_UNCOMPRESS);
                 set = 1;
             }
@@ -363,7 +363,7 @@
         if (!strcasecmp(ARG0, "yes"))
             l_tar = 1;
         for (which = 1; (which < MAXARGS) && ARG[which]; which++) {
-            if (fnmatch(ARG[which], class, NULL)) {
+            if (!fnmatch(ARG[which], class, NULL)) {
                 mangleopts |= l_tar * O_TAR;
                 set = 1;
             }