Also, after fixing that, it appears the stream module test number 5 for pdf_stm_read is hanging in an infinite loop.
BTW, the check library has support to launch a time-out error if some forked test takes a really long time, so an infinite loop in some unit test doesnt prevent the running of the other tests. We dont have such a support in nocheck, so if you are testing it with wine would be good to temporaly disable the execution of pdf_stm_read_005, until it gets fixed.
