foobar
8e3f23e3c0
ws fixes + missing $Id$ tags, headers added
2003-02-19 08:40:19 +00:00
Ilia Alshanetsky
586672fd16
PAD() macro didn't increase the buffer size resulting in loss of the
...
padding.
2003-02-13 17:17:03 +00:00
Sascha Schumann
0cb1ff3bda
- trims +100 lines of code from spprintf.c
...
- introduces an overflow detection in STR_TO_DEC
- eliminates dead code (e.g. assert(foo); if (foo) {..})
- removes unused macros from the original code
- simplifies code (e.g. cc was completely dropped)
- improves run-time performance
The max_len feature is never used in our code base.
Nevertheless, cpu cycles were spent on each string
operation to check the current length against max_len which
is quite inefficient. Thus, I've moved the check to
vspprintf where it is applied only once per call.
2003-02-12 19:38:10 +00:00
Marcus Boerger
e92f8f64e3
speed up
2003-02-11 20:30:37 +00:00
Sebastian Bergmann
2c5d4b8c23
Bump year.
2002-12-31 15:59:15 +00:00
Marcus Boerger
11611d0781
increase allocation chunks
2002-08-12 14:02:51 +00:00
Edin Kadribasic
553b7d27bf
Export spprintf() so that extension can link properly on win32.
2002-08-12 09:07:26 +00:00
Marcus Boerger
d96924ffc5
-xbuf_resize does not need to have return value
2002-06-26 21:03:28 +00:00
Marcus Boerger
db39a2efa7
-freeing memory for pbuf=NULL
...
#should have been one commit but to many versions during tests
2002-06-23 22:10:30 +00:00
Marcus Boerger
d3222bb5b7
-allow pbuf = NULL in case of NO MEMORY, too
2002-06-23 22:06:52 +00:00
Marcus Boerger
fd4d8d5450
-allways terminate buffer
...
-allow pbuf parameter to be NULL for buffer size calculation
2002-06-23 22:02:35 +00:00
Frank M. Kromann
7c80fc1d9e
Fixing win32 build.
2002-05-07 17:51:03 +00:00
Frank M. Kromann
643fb6dcdf
Adding PHPAPI needed for exif on Win32
2002-04-15 22:22:53 +00:00
Marcus Boerger
4e1a645ab0
fix a warnig and an error (found by Sebastioan)
2002-04-10 13:02:53 +00:00
Marcus Boerger
c664a0a202
introducing spprintf and vspprintf
...
#mail follows
2002-04-10 01:09:22 +00:00