[pdftex] compiling 1.30.6 on openbsd-current

holop ferenc fred at pentacom.sk
Tue Mar 7 22:41:55 CET 2006


hmm, Nelson H. F. Beebe said that
> Please, let us be conservative in what we expect in the way of
> language standards support.  Especially for TeXware, which we really
> do need to run absolutely everywhere, including old machines.

that is why i incline more to have handrolled functions for vsnprintf
et al for the really exotic platforms and use the (g)libc versions
of the more modern systems (vsnprintf and the others came with
4.4BSD Lite, and that is almost older than me :)  i think this is what
the majority of truly portable code does.


relying on compilers asks for disasters and almost goes against
writing portable code (let's talk about gcc's -On generated code).


but in the end these are only words.  if the pdftex codemasters are
interested i am willing to submit patches including a hand rolled
version of openbsd's strlcpy/strlcat

http://cvs.openbsd.org/papers/strlcpy-paper.ps

if nothing else, i think it's at least an interesting reading :)

-f
-- 



More information about the pdftex mailing list