Thanks for the patch upload, I can give it a try. Thanks, Rui
Hi,
i now uploaded
http://www.gnu.org/software/xorriso/xorriso-1.5.6.pl01.tar.gz
with <unistd.h> in libisofs/rockridge.h. It unpacks as directory tree
./xorriso-1.5.6
but the resulting binary will report its version as 1.5.6.pl01 .
(Also a new libisofs-1.5.6.pl01.tar.gz was uploaded to libburnia.)
I will probably wait a day or two before announcing the new release.
Curageous users, especially of non-GNU/Linux systems, are invited to
test 1.5.6.pl01 .
--------------------------------------------------------------------------
The miracle success on the GNU/Linux side is caused by <stdio.h> defining
ssize_t on its own and <stdlib.h> including <sys/types.h>.
So rockridge.h has and all other users of ssize_t have it defined when
they encounter the use of ssize_t.
The problem already occured 7 years ago in libisofs/aaip_0_2.h .
Back then it was solved by the same lines as in the patch by Rui Chen.
(Commit 02de4570 in https://dev.lovelyhq.com/libburnia/libisofs.git)
So i included <unicode.h> as tested solution.
The definition of ssize_t in various .c files was quite indirect and thus
rather feeble. So i included <unistd.h> in the needy files of the
development version 1.5.7.
The current development shapshot was renewed:
http://www.gnu.org/software/xorriso/xorriso-1.5.7.tar.gz
Have a nice day :)
Thomas