Commit 18d53eb6 authored by Claes Sjofors's avatar Claes Sjofors

Number of wb_load files in on e directory was limited to 500

parent 5415f099
...@@ -131,3 +131,4 @@ confirm <Confirm required> /info ...@@ -131,3 +131,4 @@ confirm <Confirm required> /info
db <Database error> /error db <Database error> /error
noserver <Server not configured> /error noserver <Server not configured> /error
lockstolen <Database lock is stolen> /error lockstolen <Database lock is stolen> /error
maxwblfiles <Max number of wb_load files exceeded> /error
\ No newline at end of file
...@@ -1339,7 +1339,7 @@ int wb_vrepwbl::load_files( const char *file_spec) ...@@ -1339,7 +1339,7 @@ int wb_vrepwbl::load_files( const char *file_spec)
} }
if ( file_cnt >= WBL_FILEMAX) if ( file_cnt >= WBL_FILEMAX)
return 0; return LDH__MAXWBLFILES;
file[file_cnt] = new wb_wblfile(); file[file_cnt] = new wb_wblfile();
file[file_cnt]->lexer = new wb_wbllexer(s); file[file_cnt]->lexer = new wb_wbllexer(s);
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include "wb_erep.h" #include "wb_erep.h"
#include "wb_attrname.h" #include "wb_attrname.h"
#define WBL_FILEMAX 500 #define WBL_FILEMAX 1000
class wb_orepwbl; class wb_orepwbl;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment