]> arthur.barton.de Git - netatalk.git/commitdiff
Back-port from HEAD: Do directory name matching using strcmp(), not
authorsrittau <srittau>
Thu, 7 Nov 2002 17:10:02 +0000 (17:10 +0000)
committersrittau <srittau>
Thu, 7 Nov 2002 17:10:02 +0000 (17:10 +0000)
strcasecmp().

etc/afpd/directory.c

index 952f24e6019ad181be8936fea343c599ab6c238e..43fb6d150312f4bd118e4b9d6677b50626c511e0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: directory.c,v 1.41.2.1 2002-10-26 17:30:16 didg Exp $
+ * $Id: directory.c,v 1.41.2.2 2002-11-07 17:10:02 srittau Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -865,7 +865,7 @@ char        **cpath;
             if ( !extend ) {
                 cdir = dir->d_child;
                 while (cdir) {
-                    if ( strcasecmp( cdir->d_name, path ) == 0 ) {
+                    if ( strcmp( cdir->d_name, path ) == 0 ) {
                         break;
                     }
                     cdir = (cdir == dir->d_child->d_prev) ? NULL :