2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
authorCasper Hornstrup <chorns@users.sourceforge.net>
Fri, 11 Jul 2003 13:13:35 +0000 (13:13 +0000)
committerCasper Hornstrup <chorns@users.sourceforge.net>
Fri, 11 Jul 2003 13:13:35 +0000 (13:13 +0000)
* tools/rgenstat/rgenstat.c (process_directory): Fix building on Windows.

svn path=/trunk/; revision=5072

reactos/ChangeLog
reactos/tools/rgenstat/rgenstat.c

index d26aa88..4c1e3a6 100644 (file)
@@ -1,3 +1,7 @@
+2003-07-11  Casper S. Hornstrup  <chorns@users.sourceforge.net>
+
+       * tools/rgenstat/rgenstat.c (process_directory): Fix building on Windows.
+
 2003-07-11  Casper S. Hornstrup  <chorns@users.sourceforge.net>
 
        * tools/rgenstat/rgenstat.c (API_INFO): Add filename field.
index 16fa54f..126602d 100755 (executable)
@@ -488,9 +488,9 @@ process_directory (char *path, char *cvspath)
 
                   strcpy(newcvspath, cvspath);
                   strcat(newcvspath, f.name);
-                  strcat(newcvspath, '/');
+                  strcat(newcvspath, "/");
 
-                  process_directory(buf, cvspath, f.name);
+                  process_directory(buf, newcvspath);
                 }
               continue;
            }
@@ -564,7 +564,7 @@ process_directory (char *path, char *cvspath)
                    {
                   strcpy(newcvspath, cvspath);
                   strcat(newcvspath, f.name);
-                  strcat(newcvspath, '/');
+                  strcat(newcvspath, "/");
 
                   process_directory(buf, newcvspath);
                   continue;