# This is a patch for SCWRL (Version 2.1 March 17, 1998) # It modifies util.c to provide error checking during the opening of the # rotamer library. Previously, attempts to open non-existant files were # not caught and various runtime errors resulted. # To apply this patch: # $ cd scwrl # $ patch < this-file # $ make # It is sufficient to recompile util.c and relink. # 1998/06/24 21:06 Reece Kimball Hart *** util.c.~1~ Tue Mar 17 17:20:15 1998 --- util.c Wed Jun 24 21:34:08 1998 *************** *** 1,5 **** --- 1,6 ---- #include "scwrl.h" #include "build.h" + #include void help() *************** *** 384,391 **** /* Open database files */ sprintf(libfilename,"%s/scwrlbin34.lib",LIBRARY); ! datafile = fopen(libfilename,"rb"); ! for (i = 0;i