Repository: lucy-clownfish
Updated Branches:
  refs/heads/0.4 83c0a2949 -> 6fced3c95


Regen charmonizer.c for strerror change


Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/6fced3c9
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/6fced3c9
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/6fced3c9

Branch: refs/heads/0.4
Commit: 6fced3c9519497514adf8b833be18efdaf32ca25
Parents: 83c0a29
Author: Nick Wellnhofer <[email protected]>
Authored: Thu Apr 9 14:39:04 2015 +0200
Committer: Nick Wellnhofer <[email protected]>
Committed: Thu Apr 9 14:39:04 2015 +0200

----------------------------------------------------------------------
 compiler/common/charmonizer.c | 2 +-
 runtime/common/charmonizer.c  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6fced3c9/compiler/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/compiler/common/charmonizer.c b/compiler/common/charmonizer.c
index dbe0317..74d5fa3 100644
--- a/compiler/common/charmonizer.c
+++ b/compiler/common/charmonizer.c
@@ -2654,7 +2654,7 @@ chaz_CC_init(const char *compiler_command, const char 
*compiler_flags) {
                                           chaz_OS_dev_null());
     chaz_Util_remove_and_verify(chaz_CC.try_exe_name);
     if (retval < 0) {
-        chaz_Util_die("Failed to execute test file (errno=%d)", errno);
+        chaz_Util_die("Failed to execute test file: %s", strerror(errno));
     }
     if (retval > 0) {
         chaz_Util_die("Unexpected exit code %d from test file", retval);

http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/6fced3c9/runtime/common/charmonizer.c
----------------------------------------------------------------------
diff --git a/runtime/common/charmonizer.c b/runtime/common/charmonizer.c
index 0ee55cd..ac732ca 100644
--- a/runtime/common/charmonizer.c
+++ b/runtime/common/charmonizer.c
@@ -2654,7 +2654,7 @@ chaz_CC_init(const char *compiler_command, const char 
*compiler_flags) {
                                           chaz_OS_dev_null());
     chaz_Util_remove_and_verify(chaz_CC.try_exe_name);
     if (retval < 0) {
-        chaz_Util_die("Failed to execute test file (errno=%d)", errno);
+        chaz_Util_die("Failed to execute test file: %s", strerror(errno));
     }
     if (retval > 0) {
         chaz_Util_die("Unexpected exit code %d from test file", retval);

Reply via email to