diff options
author | des <des@FreeBSD.org> | 2001-10-25 22:29:32 +0800 |
---|---|---|
committer | des <des@FreeBSD.org> | 2001-10-25 22:29:32 +0800 |
commit | 756634bda1d567a11d75e2d20ef6f481198bb229 (patch) | |
tree | 2c031e957890f3aad61638075bc503758583bd14 /math/snns | |
parent | 637fb8eb34bdebf4ab7565aba380ae590481c80c (diff) | |
download | freebsd-ports-gnome-756634bda1d567a11d75e2d20ef6f481198bb229.tar.gz freebsd-ports-gnome-756634bda1d567a11d75e2d20ef6f481198bb229.tar.zst freebsd-ports-gnome-756634bda1d567a11d75e2d20ef6f481198bb229.zip |
Author's own patch for the "read error in configuration file" bug.
Diffstat (limited to 'math/snns')
-rw-r--r-- | math/snns/files/patch-ag | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/math/snns/files/patch-ag b/math/snns/files/patch-ag new file mode 100644 index 000000000000..a5b62ef16fc4 --- /dev/null +++ b/math/snns/files/patch-ag @@ -0,0 +1,12 @@ +--- xgui/sources/ui_config.c.orig Tue May 29 00:02:03 2001 ++++ xgui/sources/ui_config.c Tue May 29 00:03:03 2001 +@@ -492,7 +492,8 @@ + err = fscanf(filePtr,"%*[^:]: %d\n", &noParams); + chkretline(1); + lines++; +- for (i=0; (i<UI_NO_LEARN_PARAMS+UI_NO_OF_CASCADE_PARAMS); i++){ ++ for (i=0; (i<UI_NO_LEARN_PARAMS+UI_NO_OF_CASCADE_PARAMS) ++ && (i<noParams); i++){ + err = fscanf(filePtr,"%*[^:]: %f\n", &ui_learnParameters[i]); + chkretline(1); + lines++; |