The patch I offered last week contained an error in its ifndef _UNICODE case. This enclosed patch corrects that bug. I apologize for the boneheadedness.
*** C:/Program Files/Gambit-C/v4.4.0/lib/os_files.c~ Sun Jan 11 03:02:49 2009 --- C:/Program Files/Gambit-C/v4.4.0/lib/os_files.c Sun Jan 18 09:53:32 2009 *************** *** 1,4 **** ! /* File: "os_files.c", Time-stamp: <2009-01-11 03:02:49> */
/* Copyright (c) 1994-2008 by Marc Feeley, All Rights Reserved. */
--- 1,4 ---- ! /* File: "os_files.c", Time-stamp: <2009-01-18 09:53:31> */
/* Copyright (c) 1994-2008 by Marc Feeley, All Rights Reserved. */
*************** *** 544,549 **** --- 544,550 ---- _tcscpy(gambcdir, temp); #else mbstowcs(gambcdir, temp, cch); + gambcdir[cch] = 0; #endif ___setup_params.gambcdir = gambcdir; }