Bug 29133 - strerror_r doesn't exist on powerpc-darwin(5|6), so the build breaks there
Summary: strerror_r doesn't exist on powerpc-darwin(5|6), so the build breaks there
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: classpath (show other bugs)
Version: 0.93
: P3 normal
Target Milestone: 0.93
Assignee: Dalibor Topic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-18 22:18 UTC by Dalibor Topic
Modified: 2006-11-27 15:00 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Patch to fix the build on darwin5/6 where strerror_r does not exist (550 bytes, patch)
2006-11-26 20:45 UTC, Dalibor Topic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Dalibor Topic 2006-11-26 20:45:05 UTC
Created attachment 12698 [details]
Patch to fix the build on darwin5/6 where strerror_r does not exist

2006-11-26  Dalibor Topic  <robilad <at> kaffe.org>

* libraries/clib/nio/gnu_java_nio_VMSelector.c (Java_gnu_java_nio_VMSelector_select):
Use strerror if strerror_r is not available.

Reported by:  Michael Franz <mvfranz <at> gmail.com>,
              Riccardo Mottola <zuse <at> libero.it>
Comment 2 Dalibor Topic 2006-11-27 15:00:24 UTC
checked in the patch with the following ChangeLog:

2006-11-26  Dalibor Topic  <robilad@kaffe.org>

        Fixes bug #29133.

        * libraries/clib/nio/gnu_java_nio_VMSelector.c
        (Java_gnu_java_nio_VMSelector_select):
        Use strerror if strerror_r is not available.

        Reported by:  Michael Franz <mvfranz@gmail.com>,
                      Riccardo Mottola <zuse@libero.it>