1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
--- a/tools/sources/convert2snns.c 2008-04-21 03:56:07.000000000 -0400
+++ b/tools/sources/convert2snns.c 2017-12-14 11:13:12.056308969 -0500
@@ -54,8 +54,8 @@
/* Init functionname */
#define KOHONEN_INIT_FUNC_NAME "Kohonen_Weights_v3.2"
-char *control_file,pattern_file[80],weight_file[80],
- string[80],name[50];
+char *control_file,pattern_file[256],weight_file[256],
+ string[256],name[256];
int no_of_exemplars,X,Y,
ret, i, j, unit_no,
IUnits, OUnits, HUnits;
--- a/tools/sources/snns2c.c 2017-12-14 11:05:48.372487874 -0500
+++ b/tools/sources/snns2c.c 2017-12-14 11:11:08.484915822 -0500
@@ -1622,7 +1622,7 @@
FILE *fOutFile, *fHeaderFile;
pList OutList, FunctionList;
time_t timer;
- char HeaderFile[50];
+ char HeaderFile[256];
/* calculate time for the date in the header of the output file */
time(&timer);
@@ -1824,7 +1824,7 @@
FILE *fOutFile, *fHeaderFile;
pList OutList, FunctionList;
time_t timer;
- char HeaderFile[50];
+ char HeaderFile[256];
/* calculate time for the date in the header of the output file */
time(&timer);
|