1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-10 15:48:06 -05:00
Simon Tatham b1d2f96823 sesschan.c: use dupprintf in place of snprintf.
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.
2021-04-22 17:51:32 +01:00
2021-04-22 12:42:32 +01:00
2021-04-10 09:51:29 +01:00
2021-04-10 09:51:29 +01:00
2021-04-10 09:51:29 +01:00
2021-04-10 09:51:29 +01:00
2021-04-10 09:51:29 +01:00
2021-04-10 09:51:29 +01:00
2021-04-19 18:26:56 +01:00
2021-04-19 18:26:56 +01:00
2021-01-11 21:37:51 +00:00
2021-04-18 08:18:27 +01:00
2021-02-10 21:07:57 +00:00
2020-11-14 21:39:14 +00:00
2021-02-13 10:11:30 +00:00
2020-01-30 06:40:21 +00:00
2021-04-08 01:45:03 +01:00
2021-04-18 08:18:27 +01:00
2021-04-18 08:18:27 +01:00

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
No description provided
Readme 340 MiB
Languages
C 89.7%
Python 8%
Perl 0.9%
CMake 0.8%
Shell 0.4%
Other 0.1%