/ at the end of the path for an openDir() call causes problems. '/' removed

in call now, but I'll change openDir() later to accept a trailing '/' too.


git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1048 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2003-07-11 21:46:05 +00:00
parent 37def39f4f
commit 1e32549dc3
+1 -1
View File
@@ -123,7 +123,7 @@ mountTempDir(const char *name) {
return -1;
}
tempDir = uio_openDir (repository, "/tmp/", 0);
tempDir = uio_openDir (repository, "/tmp", 0);
if (tempDir == NULL) {
int saveErrno = errno;
fprintf (stderr, "Fatal error: Could not open temp dir: %s\n",