ArtSin
5690c4ed89
Add long tests and _MIN/_MAX to test_snprintf
2024-10-23 20:15:57 +04:00
ArtSin
62953e9ecf
Change int_nums to int in test_snprintf
...
All format specifiers in `int_fmt` are for `int`, not `long`, and all numbers
in `int_nums` fit into `int`.
2024-10-23 13:55:44 +04:00
Steffen Jaeckel
fc6ba89c61
properly rename internal [v]snprintf() functions
...
Otherwise it clashes when we want to re-introduce the `xmpp_` prefix'ed
versions.
Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de >
2022-03-16 14:39:20 +01:00
Dmitry Podgorny
562a06425b
Unify coding style
...
@sjaeckel integrated clang-format with formal coding style. Run his
script and commit changes.
There are pros and cons of this commit.
Mixed coding style is a "broken window". A good single style simplifies
reading and writing code.
On the other hand, this is a big change which will lead to conflicts.
2020-01-31 01:16:50 +02:00
Dmitry Podgorny
565ace7982
tests/snprintf: undef HAVE_SNPRINTF and HAVE_VSNPRINTF
2016-04-29 22:51:23 +00:00
Tristan Le Guern
a61dba0c13
Move declarations of xmpp_{v,}snprintf.
...
Use HAVE_SNPRINTF and HAVE_VSNPRINTF to conditionnaly use an internal
version of these functions or use the libc one.
2015-10-16 14:48:10 +03:00
Dmitry Podgorny
60cfcc72e6
snprintf: moved self-test to a separated test
2015-10-16 00:05:26 +03:00