This seems like a really trivial problem to solve; some api you're using
gives you an unterminated buffer and length you're allowed to read, the vapi
treats it as a char[] for automatic length handling, and you want to print
that buffer (or some other string function)

easy - g_strndup it.

Are there any arguments against doing this?
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to