From: Peep P. <so...@us...> - 2004-03-16 14:16:56
|
Update of /cvsroot/agd/server/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6340 Modified Files: array.c compile_options.h Log Message: Removed MAX_LIST_LENGTH. Index: compile_options.h =================================================================== RCS file: /cvsroot/agd/server/src/compile_options.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** compile_options.h 15 Mar 2004 18:43:30 -0000 1.8 --- compile_options.h 16 Mar 2004 14:07:37 -0000 1.9 *************** *** 9,17 **** #define MAX_STRING_LENGTH 1024 - /* The maximum length a list or an array can have. - This is mainly used to debug infinite-recursion bugs, - probably will be removed later. */ - #define MAX_LIST_LENGTH 500 - /* The default length an array has. If an item is added to the array and it doesn't have enough --- 9,12 ---- Index: array.c =================================================================== RCS file: /cvsroot/agd/server/src/array.c,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** array.c 12 Mar 2004 08:40:10 -0000 1.8 --- array.c 16 Mar 2004 14:07:37 -0000 1.9 *************** *** 56,64 **** return; - if(a->length > MAX_LIST_LENGTH) { - printf("WARNING: array is longer than MAX_LIST_LENGTH (%d)\n", MAX_LIST_LENGTH); - return; - } - a->length++; alloc_array(a); --- 56,59 ---- |