diff options
| author | Alexander Barton <alex@barton.de> | 2014-01-04 23:57:05 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2014-01-04 23:57:05 +0100 |
| commit | 5d88030bd1a197041f84530a88c2590e6bb1bbb1 (patch) | |
| tree | fa7f13b50eb15f3f54bbf08e4d1566de1b91784c /src/testsuite | |
| parent | 8872653ef6155bdaabd15c62ee67bd23d119305b (diff) | |
| download | ngircd-5d88030bd1a197041f84530a88c2590e6bb1bbb1.tar.gz ngircd-5d88030bd1a197041f84530a88c2590e6bb1bbb1.zip | |
Support non-standard vsnprintf() return code
C99 states that vsnprintf() "returns the number of characters that would have been printed if the n were unlimited"; but according to the Linux manual page "glibc until 2.0.6 would return -1 when the output was truncated" -- so we have to handle both cases ...
Diffstat (limited to 'src/testsuite')
0 files changed, 0 insertions, 0 deletions