mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-10 15:48:06 -05:00

I hadn't actually realised until now that the SSH server code is now being compiled on Windows! It happened because I've been using static libraries internally to the build organisation: of course, CMake has no way of knowing that those libraries are only needed _within_ the build, and for all it knows they might be end products shipped to users to link their own applications with. So all the objects in the 'sshserver' library will now be compiled, even on Windows, where no applications actually link with it. And in that context, the use of snprintf caused a compiler warning from the w32old build, because there, snprintf doesn't exist in the older version of the C library. Of course, it's currently benign, because no application in the w32old build (or any other Windows build) is actually linking again the sshserver library. But I don't want to rule it out in future, or at least not for a trivial reason like this. So I've fixed the warning in the simplest way, by switching to our own dupprintf, which is available everywhere.
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
This is the README for PuTTY, a free Windows and Unix Telnet and SSH client. PuTTY is built using CMake <https://cmake.org/>. To compile in the simplest way (on any of Linux, Windows or Mac), run these commands in the source directory: cmake . cmake --build . Documentation (in various formats including Windows Help and Unix `man' pages) is built from the Halibut (`.but') files in the `doc' subdirectory using `doc/Makefile'. If you aren't using one of our source snapshots, you'll need to do this yourself. Halibut can be found at <https://www.chiark.greenend.org.uk/~sgtatham/halibut/>. The PuTTY home web site is https://www.chiark.greenend.org.uk/~sgtatham/putty/ If you want to send bug reports or feature requests, please read the Feedback section of the web site before doing so. Sending one-line reports saying `it doesn't work' will waste your time as much as ours. See the file LICENCE for the licence conditions.
Description
Languages
C
89.7%
Python
8%
Perl
0.9%
CMake
0.8%
Shell
0.4%
Other
0.1%