]> arthur.barton.de Git - netatalk.git/commitdiff
Fix the problem where two directories with the same name differing
authorpooba53 <pooba53>
Tue, 5 Nov 2002 18:47:43 +0000 (18:47 +0000)
committerpooba53 <pooba53>
Tue, 5 Nov 2002 18:47:43 +0000 (18:47 +0000)
only in case confuses the Mac Finder.

etc/afpd/directory.c

index 9a4c40fba5e3f044ecc982b1399f795d124c1207..80188046882a38f6b338f3e0a094908cfe37e94c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: directory.c,v 1.50 2002-10-29 00:27:42 didg Exp $
+ * $Id: directory.c,v 1.51 2002-11-05 18:47:43 pooba53 Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -927,7 +927,7 @@ char        **cpath;
             if ( !extend ) {
                 cdir = dir->d_child;
                 while (cdir) {
-                    if ( strcasecmp( cdir->d_m_name, path ) == 0 ) {
+                    if ( strcmp( cdir->d_m_name, path ) == 0 ) {
                         break;
                     }
                     cdir = (cdir == dir->d_child->d_prev) ? NULL :