[Bug 201883] lang/mono: Update to 4.0.3.19

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 9 12:54:29 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201883

--- Comment #5 from Marcin Cieślak <saper at saper.info> ---
You certainly don't want || here because errno maybe set to something before
the whole thing starts.

Your getcwd() fails because of some other reason ("make clean" done in the
other window?)

The problem with this code is that it does not say anything meaningful in
non-ERANGE case.

Can you check what it says in your case?

--- a/eglib/src/gfile-posix.c
+++ b/eglib/src/gfile-posix.c
@@ -175,6 +175,8 @@ g_get_current_dir (void)
                        s <<= 1;
                }
        } while (fail);
+       if (r == NULL)
+           perror("getcwd");

        /* On amd64 sometimes the bottom 32-bits of r == the bottom 32-bits of
buffer
         * but the top 32-bits of r have overflown to 0xffffffff (seriously wtf
getcwd

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-mono mailing list