Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: stb_sprintf-devel | Distribution: Fedora Project |
Version: 1.10 | Vendor: Fedora Project |
Release: 0.49.20241002git31707d1.el8 | Build date: Thu Oct 3 03:47:55 2024 |
Group: Unspecified | Build host: buildhw-a64-03.iad2.fedoraproject.org |
Size: 60798 | Source RPM: stb-0-0.49.20241002git31707d1.el8.src.rpm |
Packager: Fedora Project | |
Url: https://github.com/nothings/stb | |
Summary: Fast sprintf, snprintf for C/C++ |
This is a full sprintf replacement that supports everything that the C runtime sprintfs support, including float/double, 64-bit integers, hex floats, field parameters (%*.*d stuff), length reads backs, etc. Why would you need this if sprintf already exists? Well, first off, it’s *much* faster (see below). It’s also much smaller than the CRT versions code-space-wise. We’ve also added some simple improvements that are super handy (commas in thousands, callbacks at buffer full, for example). Finally, the format strings for MSVC and GCC differ for 64-bit integers (among other small things), so this lets you use the same format strings in cross platform code. It uses the standard single file trick of being both the header file and the source itself. If you just include it normally, you just get the header file function definitions. To get the code, you include it from a C or C++ file and define STB_SPRINTF_IMPLEMENTATION first. It only uses va_args macros from the C runtime to do its work. It does cast doubles to S64s and shifts and divides U64s, which does drag in CRT code on most platforms. It compiles to roughly 8K with float support, and 4K without. As a comparison, when using MSVC static libs, calling sprintf drags in 16K.
MIT OR Unlicense
* Wed Oct 02 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.49.20241002git31707d1 - stb_image_resize2 2.11 * Fri May 31 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.48.20240531git013ac3b - stb_image 2.30 * Sun May 26 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.47.20240525git449758b - stb_image_resize2 2.07 * Thu May 02 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.45.20240213gitae721c5 - Patch for GHSL-2023-171/CVE-2023-45681/CVE-2023-47212 * Thu May 02 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.44.20240213gitae721c5 - Fix a description to use American English orthography * Thu May 02 2024 David Abdurachmanov <davidlt@rivosinc.com> - 0-0.42.20240213gitae721c5 - Fix compile error on riscv64 * Tue Feb 13 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.41.20240213gitae721c5 - Update to 0^20240213gitae721c5 - stb_image_resize2-devel is updated to 2.06 * Tue Feb 13 2024 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.40.20240208gitb7cf124 - Update to 0^20240208gitb7cf124 - stb_image-devel is updated to 2.29 - stb_image_resize2-devel is updated to 2.05 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.39.20231011gitbeebb24 - stb_vorbis: fix GHSL-2023-165 / fix CVE-2023-45675 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.38.20231011gitbeebb24 - stb_image: fix GHSL-2023-151 / fix CVE-2023-45667 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.37.20231011gitbeebb24 - stb_image: fix GHSL-2023-150 / fix CVE-2023-45666 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.36.20231011gitbeebb24 - Document another bug, PR, and name (GHSL-2023-149) for CVE-2023-43898 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.35.20231011gitbeebb24 - stb_image: fix GHSL-2023-148 / fix CVE-2023-45664 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.34.20231011gitbeebb24 - stb_image: fix GHSL-2023-147 / fix CVE-2023-45663 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.33.20231011gitbeebb24 - stb_image: fix GHSL-2023-146 / fix CVE-2023-45662 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.32.20231011gitbeebb24 - stb_image: fix GHSL-2023-145 / fix CVE-2023-45661 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.31.20231011gitbeebb24 - Document that 1454.patch fixes CVE-2023-43898 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.30.20231011gitbeebb24 - Backport a PR fixing undefined behavior in stb_image_resize2 * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.29.20231011gitbeebb24 - Backport three PR’s fixing undefined behavior in stb_image * Wed Oct 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.28.20231011gitbeebb24 - Update to 0^beebb24git20231011 (minor C99 fixes) * Tue Oct 10 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.27.20231009gitc4bbb6e - Update to 0^20231009gitc4bbb6e - A new stb_image_resize2 library is introduced - Upstream has deprecated stb_image_resize, but we still package it * Sat Feb 25 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.24.20230129git5736b15 - Fix null pointer dereference in stb_image * Tue Jan 31 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.23.20230129git5736b15 - Update to 5736b1 (version history and README updates) * Tue Jan 31 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.22.20230129git6199bf7 - Update License to SPDX * Tue Jan 31 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.21.20230129git6199bf7 - Update to 6199bf7 (stb_image 2.28) - Security-related patches for stb_image have been merged upstream, and there are other bugfixes. * Tue Jan 31 2023 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.20.20220908git8b5f1f3 - Patch in a candidate fix for ossfuzz issue 24232 - Improves handling of certain invalid PNGs by stb_image * Sat Sep 10 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.19.20220908git8b5f1f3 - Fix Version/Provides for reintroduced stb_perlin-devel * Sat Sep 10 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.18.20220908git8b5f1f3 - A few improved descriptions * Sat Sep 10 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.17.20220908git8b5f1f3 - Improved summaries based on upstream’s README.md * Sat Sep 10 2022 Benjamin A. Beasley <code@musicinmybrain.net> - Update to 8b5f1f3 - The stb_perlin-devel subpackage has been restored, as upstream believes all relevant patents are now expired. * Sat Sep 10 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.15.20210910gitaf1a5bc - Reword spec file note on stb_include * Wed Apr 20 2022 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.8 - Security fix for CVE-2022-28041 * Fri Oct 22 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.7 - Security fix for CVE-2021-42715 and CVE-2021-42716 * Fri Oct 22 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.6 - Update to af1a5bc: only issue templates are affected; packaged files should be identical. * Thu Sep 09 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.5 - Update to c0c9826 (fix RHBZ#2002436) - Removed and obsoleted stb_perlin-devel due to possible patents - Updated stb_truetype to 1.26 - Bug fixes in stb_image (no new version number) * Tue Aug 24 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.4 - Fix signature of dummy realloc() for STB_VORBIS_NO_CRT * Mon Aug 23 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.3 - Use symlinks so including "stb_foo.h" and "stb/stb_foo.h" both work * Mon Aug 23 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.2 - Fix duplicated snapshot information * Mon Aug 23 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 0-0.1.20210728git3a11740 - Initial package for EPEL8
/usr/include/stb /usr/include/stb/stb_sprintf.h /usr/include/stb_sprintf.h /usr/share/licenses/stb_sprintf-devel /usr/share/licenses/stb_sprintf-devel/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Nov 12 07:01:02 2024