Dear SNNS-users, this is patch 2 of SNNSv3.0. It fixes the following problems: * saving a network caused segmentation faults on several machines. * the activation function Act_Perceptron did not match the definition which is given in the user manual. To apply this patch please execute the following steps: * ensure that you have applied all previous available patches (in this case: SNNSv3.0.patch1 only). All previous patches are available via ftp from ftp.informatik.uni-stuttgart.de, files /pub/SNNS/SNNSv3.0.patch* * cut the text below the 'cut here' line, make it executable as a shell script (chmod u+x) and move it to your SNNSv3.0 directory * cd to your SNNSv3.0 directory and execute the patch * remove xgui/sources/xgui * recompile SNNSv3.0 (e.g. by typing build all) * start the recompiled version, open the 'remote panel' and press the 'info' button. You should now see the text 'SNNS 3D-Kernel V3.0002' on your terminal (besides other informations) ------cut here------cut here------cut here------cut here------cut here------ #!/bin/sh # patch for file kernel/sources/kr_io.c # identification: kr_io.c 1.13 3/24/93 # date of patch: Tue Apr 27 14:04:30 MET DST 1993 if [ ! -w kernel/sources/kr_io.c ] then echo File kernel/sources/kr_io.c is not writable or does not exist. echo Please cd to your SNNSv3.0 directory and ensure that you have echo permission to change file kernel/sources/kr_io.c. echo Nothing changed exit fi idd=`what kernel/sources/kr_io.c | tail -1 | awk '{print $1, $2, $3}'` if [ "$idd" != "kr_io.c 1.13 3/24/93" ] then echo Unexpected patch level in target file kernel/sources/kr_io.c echo Present identification: $idd echo Expected identification: kr_io.c 1.13 3/24/93 echo Please apply all previous available patches first. echo Do not apply patches twice. echo Nothing changed exit fi echo applying patch on file kr_io.c 1.13 3/24/93 ; ed - kernel/sources/kr_io.c << '-*-END-*-' ; 227c static char str[180]; . 93,94c va_start( args, va_alist ); if ((dest = va_alist) == (char *) 0) return; . 68,69c va_start( args, va_alist ); if ((dest = va_alist) == (char *) 0) return; . 58,60d 26c #include . 13,15c IDENTIFICATION : @(#)kr_io.c 1.14 4/23/93 SCCS VERSION : 1.14 LAST CHANGE : 4/23/93 . w q -*-END-*- echo Patch on file kr_io.c 1.13 3/24/93 applied # patch for file kernel/sources/trans_f.c # identification: trans_f.c 1.14 3/24/93 # date of patch: Tue Apr 27 14:05:01 MET DST 1993 if [ ! -w kernel/sources/trans_f.c ] then echo File kernel/sources/trans_f.c is not writable or does not exist. echo Please cd to your SNNSv3.0 directory and ensure that you have echo permission to change file kernel/sources/trans_f.c. echo Nothing changed exit fi idd=`what kernel/sources/trans_f.c | tail -1 | awk '{print $1, $2, $3}'` if [ "$idd" != "trans_f.c 1.14 3/24/93" ] then echo Unexpected patch level in target file kernel/sources/trans_f.c echo Present identification: $idd echo Expected identification: trans_f.c 1.14 3/24/93 echo Please apply all previous available patches first. echo Do not apply patches twice. echo Nothing changed exit fi echo applying patch on file trans_f.c 1.14 3/24/93 ; ed - kernel/sources/trans_f.c << '-*-END-*-' ; 285,286c if (sum >= GET_UNIT_BIAS(unit_ptr)) return( (FlintType) 1.0 ); . 13,15c IDENTIFICATION : @(#)trans_f.c 1.15 4/27/93 SCCS VERSION : 1.15 LAST CHANGE : 4/27/93 . w q -*-END-*- echo Patch on file trans_f.c 1.14 3/24/93 applied # patch for file kernel/sources/version.h # identification: version.h 1.10 3/24/93 # date of patch: Thu Apr 29 10:34:42 MET DST 1993 if [ ! -w kernel/sources/version.h ] then echo File kernel/sources/version.h is not writable or does not exist. echo Please cd to your SNNSv3.0 directory and ensure that you have echo permission to change file kernel/sources/version.h. echo Nothing changed exit fi idd=`what kernel/sources/version.h | tail -1 | awk '{print $1, $2, $3}'` if [ "$idd" != "version.h 1.10 3/24/93" ] then echo Unexpected patch level in target file kernel/sources/version.h echo Present identification: $idd echo Expected identification: version.h 1.10 3/24/93 echo Please apply all previous available patches first. echo Do not apply patches twice. echo Nothing changed exit fi echo applying patch on file version.h 1.10 3/24/93 ; ed - kernel/sources/version.h << '-*-END-*-' ; 25,26c #define KERNEL_DATE "29.04.1993" #define KERNEL_PATCH "002" . 13,15c IDENTIFICATION : @(#)version.h 1.11 4/29/93 SCCS VERSION : 1.11 LAST CHANGE : 4/29/93 . w q -*-END-*- echo Patch on file version.h 1.10 3/24/93 applied echo Please remove xgui/sources/xgui and recompile SNNS v3.0 now exit # end of patchfile