1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00
putty-source/unix
Simon Tatham 92e75acbb5 Shifts left and right by 32 were tripping a gcc warning (fatal with
-Werror, of course) about shifting by more than the range of a data
type. They only appeared in `if' statements testing sizeof(off_t),
but gcc warns even when the code is unreachable. I've removed the
conditional code (the general case should still work even on 32-bit
machines), and hacked each shift by 32 into a pair of shifts by 16.

Note that the gcc warning is not just a helpful indication that you
may be using the wrong data type; it's actually pointing out ANSI-
undefined behaviour in shifting a signed integer beyond the size of
its type.

[originally from svn r6789]
2006-08-15 20:29:02 +00:00
..
configure.ac AIX 5.1 has <utmpx.h> but no updwtmpx(). Treat the latter as a reason to 2005-09-14 11:00:34 +00:00
gtkcfg.c Saw uxcfg.c in half down the middle, to separate out config changes 2005-02-14 07:41:41 +00:00
gtkcols.c Fix a _very_ subtle segfault in my two GTK container classes: the 2003-03-31 11:22:06 +00:00
gtkcols.h First stab at a GTK layout engine. It's missing all sorts of stuff 2003-03-13 19:52:28 +00:00
gtkdlg.c It's a new year. 2006-01-08 18:18:11 +00:00
gtkpanel.c Unix makefile now uses -O2, which massively cuts down key exchange 2003-04-23 13:48:09 +00:00
gtkpanel.h First stab at a GTK layout engine. It's missing all sorts of stuff 2003-03-13 19:52:28 +00:00
gtkwin.c Fix minor memory leak. 2006-03-14 22:01:27 +00:00
unix.h Add a mechanism for using autoconf to detect the quirks of Unix systems 2005-04-25 15:55:06 +00:00
ux_x11.c X forwarding changes: 2004-10-06 22:31:07 +00:00
uxagentc.c Unify GET_32BIT()/PUT_32BIT() et al from numerous source files into misc.h. 2005-04-12 20:04:56 +00:00
uxcfg.c Oh, and (there's always one) remove the unnecessary extra parameter 2005-02-14 07:44:50 +00:00
uxcons.c Revamp SSH authentication code so that user interaction is more 2005-10-30 20:24:09 +00:00
uxgen.c Added a command-line key generation tool. Currently builds and runs 2004-01-22 19:15:32 +00:00
uxmisc.c Render timing.c robust in the face of strangeness. The strangenesses 2005-03-28 17:48:24 +00:00
uxnet.c Failure to connect to a Unix-domain socket could cause a segfault. Fixed. 2006-02-11 18:29:55 +00:00
uxnoise.c Improve robustness in random seed file handling. 2002-11-07 20:01:04 +00:00
uxplink.c Fix up documentation/usage messages for r6572. 2006-02-19 12:52:28 +00:00
uxprint.c Unix can't sensibly enumerate printers (since they're defined as 2003-04-05 16:12:52 +00:00
uxproxy.c NULL needs to be cast to void * when passed to a variadic function like 2005-04-04 13:44:45 +00:00
uxpterm.c Reinstate the broken -e option in pterm. Also I've just worked out a 2005-02-06 15:52:00 +00:00
uxpty.c pty_init should put _something_ into realhost 2006-05-12 11:02:28 +00:00
uxputty.c Reinstate the broken -e option in pterm. Also I've just worked out a 2005-02-06 15:52:00 +00:00
uxsel.c Minor improvements to subsidiary window placement; with any luck the 2003-04-10 08:53:43 +00:00
uxsftp.c Shifts left and right by 32 were tripping a gcc warning (fatal with 2006-08-15 20:29:02 +00:00
uxsignal.c Rename some of the more stupidly named files in the Unix back end. 2004-12-31 13:02:46 +00:00
uxstore.c The ANSI-C constant FILENAME_MAX is ludicrously small on some systems. 2005-09-13 20:08:25 +00:00
uxucs.c RJK's OS X portability patch: 2004-11-24 11:36:08 +00:00
xkeysym.c Support for non-ISO-8859-1 X keysyms. So in particular, pterm in a 2003-04-27 11:10:48 +00:00