[Scummvm-git-logs] scummvm master -> 253e55660100a3d178227d00416844ba3007770b
digitall
dgturner at iee.org
Sat Oct 6 08:09:34 CEST 2018
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
253e556601 IOS: Fix Closing Standard Output & Error Log File.
Commit: 253e55660100a3d178227d00416844ba3007770b
https://github.com/scummvm/scummvm/commit/253e55660100a3d178227d00416844ba3007770b
Author: D G Turner (digitall at scummvm.org)
Date: 2018-10-06T07:16:32+01:00
Commit Message:
IOS: Fix Closing Standard Output & Error Log File.
This is as per bug Trac #10656.
Changed paths:
backends/platform/ios7/ios7_osys_main.cpp
diff --git a/backends/platform/ios7/ios7_osys_main.cpp b/backends/platform/ios7/ios7_osys_main.cpp
index 118ac22..9873c9f 100644
--- a/backends/platform/ios7/ios7_osys_main.cpp
+++ b/backends/platform/ios7/ios7_osys_main.cpp
@@ -400,4 +400,10 @@ void iOS7_main(int argc, char **argv) {
// Invoke the actual ScummVM main entry point:
scummvm_main(argc, (const char *const *) argv);
g_system->quit(); // TODO: Consider removing / replacing this!
+
+ if (newfp != NULL) {
+ *stdout = NULL;
+ *stderr = NULL;
+ fclose(newfp);
+ }
}
More information about the Scummvm-git-logs
mailing list