Replaced __FUNCTION__ with hand written string because VC6 doesn't
support it git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1292 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -263,8 +263,8 @@ uio_getStdioAccess(uio_DirHandle *dir, const char *path, int flags,
|
||||
res = uio_getFileLocation(newDir, name, flags, &mountHandle, &newPath);
|
||||
if (res == -1) {
|
||||
int savedErrno = errno;
|
||||
fprintf(stderr, "Error: %s: Could not get location of temporary "
|
||||
"dir: %s.\n", __FUNCTION__, strerror(errno));
|
||||
fprintf(stderr, "Error: uio_getStdioAccess: Could not get location of temporary "
|
||||
"dir: %s.\n", strerror(errno));
|
||||
uio_closeDir(newDir);
|
||||
uio_free(tempDirName);
|
||||
errno = savedErrno;
|
||||
@@ -274,8 +274,8 @@ uio_getStdioAccess(uio_DirHandle *dir, const char *path, int flags,
|
||||
fsID = uio_getMountFileSystemType(mountHandle);
|
||||
if (fsID != uio_FSTYPE_STDIO) {
|
||||
// Temp dir isn't on a stdio fs either.
|
||||
fprintf(stderr, "Error: %s: Temporary file location isn't on a "
|
||||
"stdio filesystem.\n", __FUNCTION__);
|
||||
fprintf(stderr, "Error: uio_getStdioAccess: Temporary file location isn't on a "
|
||||
"stdio filesystem.\n");
|
||||
uio_closeDir(newDir);
|
||||
uio_free(tempDirName);
|
||||
uio_free(newPath);
|
||||
|
||||
Reference in New Issue
Block a user