Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Aug 2015 12:54:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        mono@FreeBSD.org
Subject:   [Bug 201883] lang/mono: Update to 4.0.3.19
Message-ID:  <bug-201883-23699-DDFP7Jholj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-201883-23699@https.bugs.freebsd.org/bugzilla/>
References:  <bug-201883-23699@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

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

--- Comment #5 from Marcin Cieślak <saper@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201883-23699-DDFP7Jholj>