Mercurial > hg > index.cgi
view .hgignore @ 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 | 5b8871fd7503 |
children | 5f10e1913d1a |
line wrap: on
line source
\.exe$ \.o$ \.d$ \.a$ ~$ \.orig$ /lwbasic$ /lwlink$ /lwobjdump$ /lwar$ /lwasm$ /lwcc/lwcc$ /lwcc/lwcc-cpp$ /lwcc/lwcc-cc # for windows \.suo$ \.sdf$ \.opensdf$ \Debug$ \Release$