Mercurial > hg > index.cgi
view .hgtags @ 508:10f62dc61a75
Fix bad usage of sprintf()
Usage of sprintf() to append to a string in the form of
sprintf(buf, "%s...", buf...) is undefined, regardless whether it
worked on a lot of older systems. It was always a bad idea and it
now breaks on current glibc and gcc development environments.
The moral: if any of your code uses sprintf() in a way similar to
the above, fix it. It may not fail in a benign way.
author | William Astle <lost@l-w.ca> |
---|---|
date | Sun, 10 May 2020 22:38:24 -0600 |
parents | 41ecd436f1aa |
children | 39b75a25044b |
line wrap: on
line source
05f1a31f8f1ea8a59304f8e2a330556e39853239 lwtools-4.0 8ee33204fa7933ef68136780253b0b95645f4ace lwtools-4.2 8ee33204fa7933ef68136780253b0b95645f4ace lwtools-4.2 0000000000000000000000000000000000000000 lwtools-4.2 0000000000000000000000000000000000000000 lwtools-4.2 1cb23a4e1e7d5962a4bb93237dd25001bf40204c lwtools-4.2 d90ab253471eafe8eb02a90e67159ea909b033e9 lwtools-4.3 74b4e9f23c62e2a4d52d5880c88fb57737f80b39 lwtools-4.4 47a055c57d4ab76ef479a3d9a0241fd3b7cfdff7 lwtools-4.5 38ecb99d78dd5177873ffb5a13e25295348bad9b lwtools-4.6 65510f1574e4e729efac9f20003ef8d29118f6cf lwtools-4.7 1dcc0b174e3b340702a33182acc6cf8274ccbe4e lwtools-4.8 21ecf29b568ea6a9df18309f035be11bc5b955f8 lwtools-4.9 f3592d276aedcf0c4dd5d81349b21f8ce2ebc3d1 lwtools-4.10 fd96bb4a9c8d2451b85703e49edc136b560cd206 lwtools-4.11 d7870f1e912196d96e606f7904db3e4f940ab4b7 lwtools-4.12 6d48a45609e52e6ef3709a30578ad7086c768761 lwtools-4.13 9f49f0966c1ec3c373b506aa38cc1f856bd4fdce lwtools-4.14 40516fb9af079c21b1d80338a7ccb1500979fc9f lwtools-4.15 a71206ed966c19b5e5b6d201ae62ce30141c0fda lwtools-4.16 a83d1cdeeb619cf7113b7cc6b6a0f416b66a4aa8 lwtools-4.17