2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>

* tools/rgenstat/rgenstat.c (process_directory): Fix building on Windows.

svn path=/trunk/; revision=5072
This commit is contained in:
Casper Hornstrup 2003-07-11 13:13:35 +00:00
parent 19f0d68338
commit 3e05a4dcd9
2 changed files with 7 additions and 3 deletions

View 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.

View file

@ -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;