Tartarus CVS: putty: simon

tartarus-commits@lists.tartarus.org tartarus-commits@lists.tartarus.org
Sun, 12 Jan 2003 15:32:33 +0000


CVS Root:       /home/cvs
Module:         putty
Changes by:     simon
Date:           Sun Jan 12 2003  15:32:33 GMT

Log message:
Having laid all the groundwork, we can now remove the global `cfg'
completely from putty.h. It's now static in each of the command-line
front ends, shared only between window.c and windlg.c in PuTTY
proper (I've tested this by doing #define cfg cfgsillyname in those
two files only, and it still links so nobody else is using that
symbol!), and part of the `inst' structure in pterm. I think that
only leaves the Unicode module as the last stubborn holdout in the
anti-global-variables campaign.

Modified files:
    .               : plink.c psftp.c putty.h scp.c windlg.c window.c
    unix            : pterm.c uxplink.c

Links:
http://cvs.tartarus.org//putty/plink.c.diff?r1=1.70&r2=1.71
http://cvs.tartarus.org//putty/psftp.c.diff?r1=1.54&r2=1.55
http://cvs.tartarus.org//putty/putty.h.diff?r1=1.186&r2=1.187
http://cvs.tartarus.org//putty/scp.c.diff?r1=1.99&r2=1.100
http://cvs.tartarus.org//putty/windlg.c.diff?r1=1.198&r2=1.199
http://cvs.tartarus.org//putty/window.c.diff?r1=1.225&r2=1.226
http://cvs.tartarus.org//putty/unix/pterm.c.diff?r1=1.83&r2=1.84
http://cvs.tartarus.org//putty/unix/uxplink.c.diff?r1=1.13&r2=1.14