--- parser3/src/classes/table.C 2001/04/28 07:27:32 1.65.2.3 +++ parser3/src/classes/table.C 2001/05/02 11:49:17 1.69 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: table.C,v 1.65.2.3 2001/04/28 07:27:32 paf Exp $ + $Id: table.C,v 1.69 2001/05/02 11:49:17 paf Exp $ */ #include "pa_config_includes.h" @@ -372,7 +372,11 @@ static void _append(Request& r, const St Array& row=*new(pool) Array(pool); string.split(row, 0, "\t", 1, String::UL_CLEAN); - static_cast(r.self)->table()+=&row; + VTable& vtable=*static_cast(r.self); + // disable ^a.menu{^a.append[]} + vtable.lock(); + vtable.table()+=&row; + vtable.unlock(); } static void _join(Request& r, const String& method_name, MethodParams *params) { @@ -544,7 +548,7 @@ static void _dir(Request& r, const Strin char *file_name_cstr=(char *)r.malloc(file_name_size); memcpy(file_name_cstr, ffblk.ff_name, file_name_size); String &file_name=*new(pool) String(pool); - file_name.APPEND_TAINTED(file_name_cstr, file_name_size, + file_name.APPEND(file_name_cstr, file_name_size, String::UL_FILE_NAME, method_name.origin().file, method_name.origin().line); Array& row=*new(pool) Array(pool);