From f5352afe2fd79fb6e6a160e998cc5529b6f54a21 Mon Sep 17 00:00:00 2001 From: delta407 Date: Mon, 20 Aug 2007 21:28:40 +0000 Subject: [PATCH] 2007-08-20 Will Glynn * V186 * fs.c: don't warn that deleting a non-existent temp file failed (#1776921) --- ChangeLog | 6 ++++++ fs.c | 2 +- os_macosx/Info.plist | 2 +- os_macosx/RaceIntoSpace.xcodeproj/project.pbxproj | 2 +- version.c | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4baa29f..1638ef1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-08-20 Will Glynn + + * V186 + + * fs.c: don't warn that deleting a non-existent temp file failed (#1776921) + 2007-08-20 Krzysztof Kosciuszkiewicz * V185 diff --git a/fs.c b/fs.c index 4fe02c1..7ab04b4 100644 --- a/fs.c +++ b/fs.c @@ -291,7 +291,7 @@ remove_savedat(const char *name) INFO2("removing save game file `%s'", cooked); fix_pathsep(cooked); rv = remove(cooked); - if (rv < 0) + if (rv < 0 && errno != ENOENT) WARNING3("failed to remove save game file `%s': %s", cooked, strerror(errno)); free(cooked); diff --git a/os_macosx/Info.plist b/os_macosx/Info.plist index 8ef7c97..279c54f 100644 --- a/os_macosx/Info.plist +++ b/os_macosx/Info.plist @@ -21,7 +21,7 @@ CFBundleSignature RiSP CFBundleVersion - 0.4.6.184 + 0.4.6.186 NSMainNibFile SDLMain NSPrincipalClass diff --git a/os_macosx/RaceIntoSpace.xcodeproj/project.pbxproj b/os_macosx/RaceIntoSpace.xcodeproj/project.pbxproj index 1d72f85..ef985a8 100644 --- a/os_macosx/RaceIntoSpace.xcodeproj/project.pbxproj +++ b/os_macosx/RaceIntoSpace.xcodeproj/project.pbxproj @@ -241,7 +241,7 @@ 7CF3910F0C6A998C0086E543 /* TODO */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = TODO; path = ../TODO; sourceTree = SOURCE_ROOT; }; 7CF391100C6A998C0086E543 /* WHO_SPOT */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; name = WHO_SPOT; path = ../WHO_SPOT; sourceTree = SOURCE_ROOT; }; 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; }; - 8D1107320486CEB800E47090 /* Race Into Space.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = "Race Into Space.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 8D1107320486CEB800E47090 /* Race Into Space.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Race Into Space.app"; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ diff --git a/version.c b/version.c index 725a5ba..bc3d544 100644 --- a/version.c +++ b/version.c @@ -1 +1 @@ -185 +186