From 1e32549dc370000ff23a66262c385e011e743728 Mon Sep 17 00:00:00 2001 From: meep-eep Date: Fri, 11 Jul 2003 21:46:05 +0000 Subject: [PATCH] / 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 --- sc2/src/sc2code/libs/file/temp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc2/src/sc2code/libs/file/temp.c b/sc2/src/sc2code/libs/file/temp.c index 6c3fb82e4..95d59e6de 100644 --- a/sc2/src/sc2code/libs/file/temp.c +++ b/sc2/src/sc2code/libs/file/temp.c @@ -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",