1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00
putty-source/unix
Simon Tatham aba05b7180 Patch from Robert de Bath to substantially simplify timing.c.
The previous platform-dependent ifdefs, switching between a system
which tried to cope with spurious callbacks (which I'd observed on
Windows) and one which tried to cope with system clock jumps (which
can happen on Unix, if you use gettimeofday) have been completely
removed, and replaced with a much simpler approach which just copes
with system clock jumps by triggering any timers immediately.

None of the resulting effects should be catastrophic (the worst thing
might be the waste of CPU in a spurious rekey, but as long as the
system clock isn't jumping around _all_ the time that's hardly
critical) and in any case the Unix port has had a long-standing oddity
involving occasional lockups if pterm or PuTTY runs for too long,
which hopefully this should replace with a much less bad failure mode.
And the code is much simpler, which is not to be sneezed at.

[originally from svn r9528]
2012-05-13 15:59:26 +00:00
..
configure.ac Instead of testing for different versions of GTK in increasing order 2011-08-20 08:18:56 +00:00
gtkcfg.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
gtkcols.c Reinstate all the GTK1-specific code under ifdefs, and verify that 2008-04-04 10:56:26 +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 Add code in dlg_filesel_set and dlg_fontsel_set which makes them 2012-04-13 18:02:30 +00:00
gtkfont.c Bug fix from Robert de Bath: if wc_to_mb returns a length of zero, it 2012-04-22 14:22:08 +00:00
gtkfont.h Support font fallback even when an X11 server-side font is selected, 2011-09-16 19:18:54 +00:00
gtkwin.c Bug fix from Robert de Bath: if the utf8_override setting is changed 2012-04-22 14:22:08 +00:00
unix.h Patch from Robert de Bath to substantially simplify timing.c. 2012-05-13 15:59:26 +00:00
ux_x11.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxagentc.c Mostly cosmetic change: don't claim to have found an SSH agent if 2011-07-16 12:03:14 +00:00
uxcfg.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxcons.c Conditionalise the calls to premsg and postmsg in uxcons.c's 2012-04-18 06:36:46 +00:00
uxgen.c Missing close() causing resource leak when reading from /dev/random. 2010-09-09 14:36:46 +00:00
uxgss.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxmisc.c Patch from Robert de Bath to substantially simplify timing.c. 2012-05-13 15:59:26 +00:00
uxnet.c Arrange to call net_pending_errors on Unix, which we've never actually 2011-12-08 19:15:57 +00:00
uxnoise.c Fix minor file descriptor leaks. Found by cppcheck, reported by Tim Kosse. 2009-09-16 22:28:20 +00:00
uxplink.c Patch from Robert de Bath to substantially simplify timing.c. 2012-05-13 15:59:26 +00:00
uxprint.c Update to r8614: another -D_FORTIFY_SOURCE=2 fix. 2010-02-20 11:21:25 +00:00
uxproxy.c Revamp of EOF handling in all network connections, pipes and other 2011-09-13 11:44:03 +00:00
uxpterm.c Arrange to call net_pending_errors on Unix, which we've never actually 2011-12-08 19:15:57 +00:00
uxpty.c We shouldn't fork off a utmp helper subprocess when we aren't setuid, 2011-09-19 16:38:23 +00:00
uxputty.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxsel.c Changed my mind about r7164. Instead of checking for zero flags 2007-01-26 20:00:32 +00:00
uxser.c Post-release destabilisation! Completely remove the struct type 2011-07-14 18:52:21 +00:00
uxsftp.c Patch from Robert de Bath to substantially simplify timing.c. 2012-05-13 15:59:26 +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 Turn 'Filename' into a dynamically allocated type with no arbitrary 2011-10-02 11:01:57 +00:00
uxucs.c Add some missing consts in character set handling. 2011-09-16 19:18:52 +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
xpmptcfg.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmpterm.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmpucfg.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00
xpmputty.c Tweak the icon script, and the generated icons, to more closely 2007-01-07 10:17:12 +00:00