FreeBSD Bugzilla – Attachment 159689 Details for
Bug 201883
lang/mono: Update to 4.0.3.19
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Workaround for getcwd(3) returning NULL with errno set to 0.
patch-eglib_src_gfile-posix.c (text/plain), 279 bytes, created by
Romain Tartière
on 2015-08-09 12:23:08 UTC
(
hide
)
Description:
Workaround for getcwd(3) returning NULL with errno set to 0.
Filename:
MIME Type:
Creator:
Romain Tartière
Created:
2015-08-09 12:23:08 UTC
Size:
279 bytes
patch
obsolete
> >$FreeBSD$ > >--- eglib/src/gfile-posix.c.orig >+++ eglib/src/gfile-posix.c >@@ -170,7 +170,7 @@ > do { > buffer = g_realloc (buffer, s); > r = getcwd (buffer, s); >- fail = (r == NULL && errno == ERANGE); >+ fail = (r == NULL || errno == ERANGE); > if (fail) { > s <<= 1; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 201883
:
159230
|
159689
|
159690