GOLDED.DEVEL------------- < Пред. | След. > -- < @ > -- < Сообщ. > -- < Эхи > --
 Nп/п : 36 из 87
 От   : Nil A                               2:5015/46         09 фев 24 06:26:18
 К    : All                                                   09 фев 24 06:33:02
 Тема : Exceptions
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 2:5015/46 65c59cc1
@CHRS: CP866 2
@TZUTC: 0300
@TID: hpt/lnx 1.9.0-cur 2021-05-15
Hello, All!

Столько народу приложило свои руки к голдеду.
 Вот, какой-то чел Ianos Gnatiuc <ssianky@users.sourceforge.net> в
2006ом чинит краш, оборачивая vsprintf() в try/catch блок :-))
А что, может бросить исключение?

$ git show 5c13c7c8c93bb9433ddf0f95c4d53b8d0572bd22
Prevent crash of golded while formatting status line

golded3/geutil.cpp
    try
    {
        vsprintf(winfobuf, format, argptr);
    }
    catch(...)
    {
        if (*token)
  sprintf(winfobuf, "ERROR: Update %s in your GOLDLANG.CFG or report
to author.", token);
        else
            sprintf(winfobuf, "ERROR: "%s". Report to author.", format);

        error = true;
    }

Best Regards, Nil
--- GoldED+/LNX 1.1.5
 * Origin: Linux 2.6.32-042stab145.3 (2:5015/46)
SEEN-BY: 104/117 460/58 463/68 5005/49 5015/46 255
5019/40 5020/715 848 1042
SEEN-BY: 5020/4441 12000 5023/24 5025/121 5030/49
1081 5053/58 5058/104
SEEN-BY: 6078/80
@PATH: 5015/46 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх