]> git.sur5r.net Git - openldap/commitdiff
change DIRSEP to LDAP_DIRSEP
authorGary Williams <gwilliams@openldap.org>
Fri, 18 Jun 1999 21:21:32 +0000 (21:21 +0000)
committerGary Williams <gwilliams@openldap.org>
Fri, 18 Jun 1999 21:21:32 +0000 (21:21 +0000)
servers/slapd/back-ldbm/startup.c

index 6680ecc9bce2eefc2e3063f9dfb63f21936974cc..910eb67e231775a5b02805b2c1b7cf7a12419a8a 100644 (file)
@@ -51,11 +51,11 @@ ldbm_back_startup(
 
        /*  if the data directory is not an absolute path, have it relative
         to the current working directory (which should not be configured !)  */
-       if ( *li->li_directory != *DIRSEP ) {
+       if ( *li->li_directory != *LDAP_DIRSEP ) {
                char   cwd[MAXPATHLEN];
 
                (void) getcwd( cwd, MAXPATHLEN );
-               sprintf( cwd, "%s%s%s", cwd, DIRSEP, li->li_directory );
+               sprintf( cwd, "%s%s%s", cwd, LDAP_DIRSEP, li->li_directory );
                free( li->li_directory );
                li->li_directory = strdup( cwd );