Assembla home | Assembla project page
 

Ticket #70 (new task)

Opened 6 months ago

Last modified 6 months ago

[gnulib] port fpurge.c, freadahead.c and freading.c + others for Haiku

Reported by: scottmc Assigned to: brecht
Priority: normal Milestone: Haiku self-hosting
Component: BePorts Version:
Severity: normal Keywords:
Cc:

Attachments

testdir-stdioext-tests (2.5 kB) - added by scottmc on 06/03/08 20:56:12.
make check output

Change History

06/03/08 18:29:29 changed by scottmc

  • type changed from defect to task.

06/03/08 18:30:36 changed by scottmc

  • priority changed from high to normal.

(follow-up: ↓ 4 ) 06/03/08 20:47:49 changed by scottmc

  • summary changed from [gnulib] port fpurge.c, freadahead.c and freading.c for Haiku to [gnulib] port fpurge.c, freadahead.c and freading.c + others for Haiku.

Trying to debug this with testdir-stdioext from: http://www.nabble.com/-PATCH--DragonFly-BSD-support-to17576603.html got make errors in: fbufmode.c, fpurge.c, freadahead.c, freading.c, freadptr.c, freadseek.c, fseterr.c, freadable.c, fwritable.c, fwriting.c and fseeko.c

Got pass each of those by addining in an defined HAIKU in the line with:

#if defined _IO_ferror_unlocked GNU_LIBRARY ==1 /* blah blah */ making it:

#if defined _IO_ferror_unlocked GNU_LIBRARY ==1 defined HAIKU /* blah

after changing those 11 files, make finishes without any further troubles. make check then fails 4 of 24 tests. Output attached.

(in reply to: ↑ 3 ) 06/03/08 20:53:26 changed by scottmc

Trying to debug this with testdir-stdioext from: http://www.nabble.com/-PATCH--DragonFly-BSD-support-to17576603.html got make errors in: fbufmode.c, fpurge.c, freadahead.c, freading.c, freadptr.c, freadseek.c, fseterr.c, freadable.c, fwritable.c, fwriting.c and fseeko.c

Got pass each of those by addining in an defined HAIKU in the line with: #if defined _IO_ferror_unlocked || __GNU_LIBRARY__ ==1 /* blah blah */

making it: #if defined _IO_ferror_unlocked || __GNU_LIBRARY__ ==1 || defined __HAIKU__ /* blah blah */

after changing those 11 files, make finishes without any further troubles. make check then fails 4 of 24 tests. Output attached.

06/03/08 20:56:12 changed by scottmc

  • attachment testdir-stdioext-tests added.

make check output