Mercurial > hg > index.cgi
view docs/readme-4.0.txt @ 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 | 2c24602be78f |
children |
line wrap: on
line source
With LWTOOLS 4.0, a substantial reorganization of the project has occurred. This document serves to explain the reasoning behind the various changes. The most obvious change is that the gnu auto tools have been eliminated. While they proved useful for initial distribution of the software, particularly for construction of the win32 binaries, they have since proved to add an unacceptable level of complexity to every aspect of development from merely tinkering with source files to doing complete releases. Thus, the auto tools have been ditched in favour of specific hand tuned help where required. The other substantial change is that the source code repository has been recreated from scratch. The old repository was full of cruft from various revision control systems that were used over the years (CVS, Subversion, and Mercurial). It was felt that starting a new Mercurial repository with a completely clean slate would simplify matters substantially. Thus, the old repository now serves as an archive.