[mupen64plus-core] 88/310: Changed warning to info message when core can not open config

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 05:57:22 UTC 2015


This is an automated email from the git hooks/post-receive script.

ecsv-guest pushed a commit to branch armhf_test
in repository mupen64plus-core.

commit 5d848b1eae008205dc04ea6fe9cef9fbca05d83a
Author: Sven Eckelmann <sven at narfation.org>
Date:   Sun Jul 24 11:59:50 2011 +0200

    Changed warning to info message when core can not open config
---
 debian/changelog                                |  2 ++
 debian/patches/info_configuration_failure.patch | 18 ++++++++++++++++++
 debian/patches/series                           |  1 +
 3 files changed, 21 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a3246a2..02a2bb1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,8 @@ mupen64plus-core (1.99.4-3) UNRELEASED; urgency=low
       endianness
     - Add privilege_segfault.patch, Prevent segfault when
       .local/share/mupen64plus/ owned by root
+    - Add info_configuration_failure.patch, Changed warning to info message when
+      core can not open config
 
  -- Sven Eckelmann <sven at narfation.org>  Wed, 13 Jul 2011 08:38:54 +0200
 
diff --git a/debian/patches/info_configuration_failure.patch b/debian/patches/info_configuration_failure.patch
new file mode 100644
index 0000000..5c83c98
--- /dev/null
+++ b/debian/patches/info_configuration_failure.patch
@@ -0,0 +1,18 @@
+Description: changed warning to info message when core can not open config
+Origin: upstream, https://bitbucket.org/richard42/mupen64plus-core/changeset/2713306bab99
+Author: Sven Eckelmann <sven at narfation.org>
+
+---
+diff --git a/src/api/config.c b/src/api/config.c
+index a661298370ce02737b7770e93e88fd23d1d90b80..860e9ccb199e4ec210dab4f774846d3ead10f5f8 100644
+--- a/src/api/config.c
++++ b/src/api/config.c
+@@ -200,7 +200,7 @@ m64p_error ConfigInit(const char *ConfigDirOverride, const char *DataDirOverride
+     fPtr = fopen(filepath, "rb");
+     if (fPtr == NULL)
+     {
+-        DebugMessage(M64MSG_WARNING, "Couldn't open configuration file '%s'.  Using defaults.", filepath);
++        DebugMessage(M64MSG_INFO, "Couldn't open configuration file '%s'.  Using defaults.", filepath);
+         free(filepath);
+         l_SaveConfigOnExit = 1; /* auto-save the config file so that the defaults will be saved to disk */
+         return M64ERR_SUCCESS;
diff --git a/debian/patches/series b/debian/patches/series
index 6903d99..9ca2321 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@ n64_romswap.patch
 rjump_globber.patch
 big_endian_conflict.patch
 privilege_segfault.patch
+info_configuration_failure.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus-core.git



More information about the Pkg-games-commits mailing list