Hi there,
I tried to get Sablotron 0.5 built on OpenBSD 2.8-Stable.
To do so, I replaced all occurences of wchar.h with
stddef.h. As noticed before, this results in only partially
success. Problem is the Function wcsfrm(), which seems
to be used for implementing xsl:sort.
I collected some info about this function - don't know if
this is trivial to all of you - for me it was new.
Let's face it: I suppose quit a few people will really
_want_ to have sablotron 0.5 on their *BSDs.
So either lets code this f**.. wcsfrm() for the *BSDs,
or strip off the xsl:sort stuff ..
(which would be OK for me, if Sablotron then could be built shared,
which seems to be a problem, at least on OpenBSD)
Please share your opinions.
Greets,
Toby
1. ISO C (also known as ISO 9899, including Amendment One, and C99)
-------------------------------------------------------------------
ISO C Names and corresponding headers:
..
wchar_t stddef.h C89
..
wcsxfrm wchar.h C89
..
[from: http://www.schweikhardt.net/identifiers.html]
2. Synopsis of wcsxfrm()
------------------------
A synposis can be found here..
http://www.unix-systems.org/single_unix_specification_v2/xsh/wcsxfrm.html
3. GNU glibc Implementation
---------------------------
http://www.yggdrasil.com/cgi-bin/cvsweb.cgi/lib/glibc/wcsmbs/wcsxfrm.c