leitner
|
b7b8a0efc1
|
gcc 15 and C23 force some union trickery on buffer.h :-(
add a few buffer_init*_forread variants to pretend we have type safety
make sure buffer_init_staticcontents handles flushing attempts
|
2025-04-22 09:32:03 +00:00 |
|
leitner
|
cf32aafe8a
|
great include cleanup
|
2025-01-20 18:40:47 +00:00 |
|
leitner
|
9cfa19396e
|
special case buffer_get_token with token length 1 through memccpy
|
2015-12-17 16:24:17 +00:00 |
|
leitner
|
4a04c40595
|
get rid of more -Wconversion warnings
|
2014-03-14 19:42:54 +00:00 |
|
leitner
|
3004b518ef
|
switch to size_t and ssize_t
|
2006-11-07 17:56:05 +00:00 |
|
leitner
|
eeffc36387
|
remove even more warnings
64-bit cleanliness issue with auto-NULL-appending macros
|
2005-05-12 06:52:29 +00:00 |
|
leitner
|
c874604f12
|
gcc 4 cleanups (mostly unsigned char* vs char*)
|
2005-04-23 15:50:16 +00:00 |
|
leitner
|
5eb1cdf888
|
cleanups in stralloc and buffer:
int -> long for sizes
char -> unsigned char for strings
|
2004-11-25 21:29:35 +00:00 |
|
leitner
|
12fbaf7c9c
|
make buffer_get_token write \0 to buffer on end of file so it can be
distinguished from a length 0 token.
|
2002-05-11 15:19:56 +00:00 |
|
leitner
|
fc4193e1ce
|
buffer stuff from Olaf and ip[46]_fmt stuff from me.
|
2001-02-05 21:55:25 +00:00 |
|
sanjiyan
|
6838f0f0bb
|
aded buffer_getc, buffer_getn get n bytes less only if EOF and
buffer_get_token for getting n bytes till finding a termination char or
EOF/error.
|
2001-02-05 21:27:55 +00:00 |
|