Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 312457 Details for
Bug 416857
sys-devel/gcc-4.6.2[gcj] failure in libjava with sys-libs/glibc-2.15
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix gcc failure in libjava
file_416857.txt (text/plain), 1.44 KB, created by
Alexey Kretov
on 2012-05-21 07:14:58 UTC
(
hide
)
Description:
Fix gcc failure in libjava
Filename:
MIME Type:
Creator:
Alexey Kretov
Created:
2012-05-21 07:14:58 UTC
Size:
1.44 KB
patch
obsolete
>diff -urN a/gcc/libjava/prims.cc b/gcc/libjava/prims.cc >--- a/gcc/libjava/prims.cc 2009-04-28 08:02:30.000000000 +0400 >+++ b/gcc/libjava/prims.cc 2012-05-21 10:44:33.240160617 +0400 >@@ -38,13 +38,14 @@ > #endif > > #ifndef DISABLE_GETENV_PROPERTIES >-#include <ctype.h> > #include <java-props.h> > #define PROCESS_GCJ_PROPERTIES process_gcj_properties() > #else > #define PROCESS_GCJ_PROPERTIES > #endif // DISABLE_GETENV_PROPERTIES > >+#define c_isspace(c) (memchr (" \t\n\r\v\f", c, 6) != NULL) >+ > #include <java/lang/Class.h> > #include <java/lang/ClassLoader.h> > #include <java/lang/Runtime.h> >@@ -993,7 +994,7 @@ > JvAssert (s); > > // Skip over whitespace >- while (isspace (*s)) >+ while (c_isspace (*s)) > s++; > > // If we've reached the end, return NULL. Also return NULL if for >@@ -1005,7 +1006,7 @@ > > // Determine the length of the property key. > while (s[l] != 0 >- && ! isspace (s[l]) >+ && ! c_isspace (s[l]) > && s[l] != ':' > && s[l] != '=') > { >@@ -1027,19 +1028,19 @@ > > JvAssert (s); > >- while (isspace (*s)) >+ while (c_isspace (*s)) > s++; > > if (*s == ':' > || *s == '=') > s++; > >- while (isspace (*s)) >+ while (c_isspace (*s)) > s++; > > // Determine the length of the property value. > while (s[l] != 0 >- && ! isspace (s[l]) >+ && ! c_isspace (s[l]) > && s[l] != ':' > && s[l] != '=') > { >
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 416857
: 312457 |
325456