--- parser3/src/main/pa_stylesheet_manager.C 2023/09/26 20:49:10 1.35 +++ parser3/src/main/pa_stylesheet_manager.C 2026/10/27 23:05:00 1.39 @@ -1,7 +1,7 @@ /** @file Parser: sql driver manager implementation. - Copyright (c) 2001-2023 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2026 Art. Lebedev Studio (https://www.artlebedev.com) Authors: Konstantin Morshnev , Alexandr Petrosian */ #include "pa_config_includes.h" @@ -10,12 +10,13 @@ #include "pa_stylesheet_manager.h" #include "pa_exception.h" #include "pa_common.h" +#include "pa_os.h" #include "pa_threads.h" #include "pa_stack.h" #include "pa_vhash.h" #include "pa_vtable.h" -volatile const char * IDENT_PA_STYLESHEET_MANAGER_C="$Id: pa_stylesheet_manager.C,v 1.35 2023/09/26 20:49:10 moko Exp $" IDENT_PA_STYLESHEET_MANAGER_H; +volatile const char * IDENT_PA_STYLESHEET_MANAGER_C="$Id: pa_stylesheet_manager.C,v 1.39 2026/10/27 23:05:00 moko Exp $" IDENT_PA_STYLESHEET_MANAGER_H; // globals @@ -105,13 +106,13 @@ static void add_connection_to_status_cac row+=new String(connection.file_spec(), String::L_AS_IS); // time time_t time_used=connection.get_time_used(); - row+=new String(pa_strdup(ctime(&time_used))); + row+=new String(pa_strdup(pa_ctime(time_used))); *table+=&row; } } static void add_connections_to_status_cache_table(Stylesheet_manager::connection_cache_type::key_type /*key*/, Stylesheet_manager::connection_cache_type::value_type stack, Table* table) { - for(Array_iterator i(*stack); i.has_next(); ) + for(Array_iterator i(*stack); i; ) add_connection_to_status_cache_table(*i.next(), table); }