Giel van Schijndel
ae79833367
* In vasprintf when we have to produce a zero-length string:
...
* Assign the resulting pointer to the char** strp pointer
* Return zero (instead of the pointer)
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2948 4a71c877-e1ca-e34f-864e-861f7616d084
2007-12-01 23:44:29 +00:00
Giel van Schijndel
714d117c71
* Add a concatenating variant of snprintf and vsnprintf, slcatprintf and vslcatprintf respectively
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2817 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-13 19:14:27 +00:00
Giel van Schijndel
b285cdea7d
* Use vsnprintf instead of snprintf!
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2809 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-12 19:03:30 +00:00
Giel van Schijndel
1bd1483944
* Use snprintf (in vasprintf) to determine the size of the string we're about to construct
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2807 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-11 22:09:20 +00:00
Giel van Schijndel
6486b5270b
* Add implementations of vasprintf and asprintf for Windows (GNU extensions to the C library that malloc the memory they need)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2804 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-11 21:12:13 +00:00
Giel van Schijndel
7711572f0a
* Add a new module (printf_ext.c) to contain some printf extensions (C99 printf variants for MSVC)
...
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@2803 4a71c877-e1ca-e34f-864e-861f7616d084
2007-11-11 20:58:10 +00:00