They had it in 2013, as _snprintf, requiring <stdio.h>. They also have wide versions of the function.
_snprintf wouldn't terminate the string on error. So I guess that doesn't count.
afairk they had that for quiet a while.
Ah... I wondered if the underscore might have been the offense.
thats why one should use memcpy. strncpy() isn't buffer overrun safe anyways.
Heh... memcpy with UTF-16 characters...
anno 2015: strncpy() still doesn't guarantee null termination, on *any*
It doesn't guarantee bounds-safety if you pass the wrong size parameter, either. I suppose you're supposed to use it after calloc() or memset() and pass size-1...
(I do think it's a dumb design. And as I recall, Citadel has a safestrncpy...)
A Python re-write of any of it would be interesting. Prolly not gonna happen, but it would be fun for me.
I guess I have never tried calling any of the Citadel libraries with ctypes yet. I should probably give that a try. I don't think I will muck about on my live system however :-) Easy / Queasy install to the rescue.
@ax25 I guess there is not much in there realy usefull for python. The client api doesn't use libcitadels abstractions, which, if, then would probably be a good thing to use in python or swig.
Another nice thing I've just found:
https://www.madoko.net/ A system for doing markdown documentations & presentations with latex backends written in...
Bummer on the lib abstraction not being there. It would be a bit safer than poking around where it is probably not safe.
Nice find on Madoko / Koka. I never did learn LaTeX, but I found it appealing every time I read about it - (especially coming from the times of fitting a report to the bounds of what could be done on an Epson dot matrix in escape codes era).
yea, latex is definitely a good inbetween format, I once did my bills with it, and used it as bridge dokuwiki->pdf, plus my vitra is done with it... and, if its not complicated tables, the results look nice!
latex is damn pretty. I was aiming to do a resume in that as the textbooks that were done in latex at the time were borderline eye candy :-)
My wife is allergic to latex.
Can't blame her. Nobody should have to edit source code just to format a document.
it works with markdown. it just uses latex as intermediate format.
ok - you can use latex for complicated formulars, but I gues booboo doesn't have much use for them anyways?
[[ whoooosssshhhhhhh... ]]