More informative g_error message
authorHinTak <htl10@users.sourceforge.net>
Sun, 27 Aug 2017 21:55:11 +0000 (22:55 +0100)
committerGitHub <noreply@github.com>
Sun, 27 Aug 2017 21:55:11 +0000 (22:55 +0100)
Encountered this message while running the new mkbundle simple-cross functionality introduced recently. "Function not supported" is seen on both Mac OS X and Ubuntu. Will possibly file a separate bug since HAVE_MKDTEMP should be true... but it should be "Function mkdtemp not supported" in any case.

mono/eglib/gfile-unix.c

index ab1fbb483bd53d995c6b86f216655563cfc2b757..c213c8823ff1d8ba2858b1b70ad78b6f4baaf79d 100644 (file)
@@ -87,6 +87,6 @@ g_mkdtemp (char *tmp_template)
 
        return mkdtemp (template_copy);
 #else
-       g_error("Function not supported");
+       g_error("Function mkdtemp not supported");
 #endif
 }