/ 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:
@@ -123,7 +123,7 @@ mountTempDir(const char *name) {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
tempDir = uio_openDir (repository, "/tmp/", 0);
|
tempDir = uio_openDir (repository, "/tmp", 0);
|
||||||
if (tempDir == NULL) {
|
if (tempDir == NULL) {
|
||||||
int saveErrno = errno;
|
int saveErrno = errno;
|
||||||
fprintf (stderr, "Fatal error: Could not open temp dir: %s\n",
|
fprintf (stderr, "Fatal error: Could not open temp dir: %s\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user