Ticket #11146: signals.patch

File signals.patch, 10.7 KB (added by mythtv@…, 7 years ago)

patch for main.cpp files

  • .osx-packager/src/myth-git/mythtv/programs/mythavtest/main.cpp

    old new  
    231231
    232232#ifndef _WIN32
    233233    QList<int> signallist;
    234 #if defined(Q_OS_MACX)
    235     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    236                << SIGILL << SIGUSR1;
    237 #else
    238234    signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    239235               << SIGILL << SIGRTMIN;
    240 #endif
    241236    SignalHandler::Init(signallist);
    242237    signal(SIGHUP, SIG_IGN);
    243238#endif
  • .osx-packager/src/myth-git/mythtv/programs/mythbackend/main.cpp

    old new  
    102102
    103103#ifndef _WIN32
    104104    QList<int> signallist;
    105 #if defined(Q_OS_MACX)
    106     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    107                << SIGILL << SIGUSR1;
    108 #else
    109105    signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    110106               << SIGILL << SIGRTMIN;
    111 #endif
    112107    SignalHandler::Init(signallist);
    113108    signal(SIGHUP, SIG_IGN);
    114109#endif
  • .osx-packager/src/myth-git/mythtv/programs/mythccextractor/main.cpp

    old new  
    144144
    145145#ifndef _WIN32
    146146    QList<int> signallist;
    147 #if defined(Q_OS_MACX)
    148     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    149                << SIGILL << SIGUSR1;
    150 #else
    151147    signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    152148               << SIGILL << SIGRTMIN;
    153 #endif
    154149    SignalHandler::Init(signallist);
    155150    signal(SIGHUP, SIG_IGN);
    156151#endif
  • .osx-packager/src/myth-git/mythtv/programs/mythcommflag/main.cpp

    old new  
    11251125
    11261126#ifndef _WIN32
    11271127    QList<int> signallist;
    1128 #if defined(Q_OS_MACX)
    1129     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    1130                << SIGILL << SIGUSR1;
    1131 #else
    11321128    signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    11331129               << SIGILL << SIGRTMIN;
    1134 #endif
    11351130    SignalHandler::Init(signallist);
    11361131    signal(SIGHUP, SIG_IGN);
    11371132#endif
  • .osx-packager/src/myth-git/mythtv/programs/mythfilldatabase/main.cpp

    old new  
    347347
    348348#ifndef _WIN32
    349349    QList<int> signallist;
    350 #if defined(Q_OS_MACX)
    351     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    352                << SIGILL << SIGUSR1;
    353 #else
    354350    signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    355351               << SIGILL << SIGRTMIN;
    356 #endif
    357352    SignalHandler::Init(signallist);
    358353    signal(SIGHUP, SIG_IGN);
    359354#endif
  • .osx-packager/src/myth-git/mythtv/programs/mythfrontend/main.cpp

    old new  
    14771477
    14781478#ifndef _WIN32
    14791479    QList<int> signallist;
    1480 #if defined(Q_OS_MACX)
    1481     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    1482                << SIGILL << SIGUSR1;
    1483 #else
    14841480    signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    14851481               << SIGILL << SIGRTMIN;
    1486 #endif
    14871482    SignalHandler::Init(signallist);
    14881483    SignalHandler::SetHandler(SIGUSR1, handleSIGUSR1);
    14891484    SignalHandler::SetHandler(SIGUSR2, handleSIGUSR2);
  • .osx-packager/src/myth-git/mythtv/programs/mythjobqueue/main.cpp

    old new  
    112112
    113113#ifndef _WIN32
    114114    QList<int> signallist;
    115 #if defined(Q_OS_MACX)
    116     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    117                << SIGILL << SIGUSR1;
    118 #else
    119115    signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    120116               << SIGILL << SIGRTMIN;
    121 #endif
    122117    SignalHandler::Init(signallist);
    123118    signal(SIGHUP, SIG_IGN);
    124119#endif
  • .osx-packager/src/myth-git/mythtv/programs/mythlcdserver/main.cpp

    old new  
    9999
    100100#ifndef _WIN32
    101101    QList<int> signallist;
    102 #if defined(Q_OS_MACX)
    103     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    104                << SIGILL << SIGUSR1;
    105 #else
    106102    signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    107103               << SIGILL << SIGRTMIN;
    108 #endif
    109104    SignalHandler::Init(signallist);
    110105    signal(SIGHUP, SIG_IGN);
    111106#endif
  • .osx-packager/src/myth-git/mythtv/programs/mythlogserver/main.cpp

    old new  
    104104
    105105#ifndef _WIN32
    106106    QList<int> signallist;
    107 #if defined(Q_OS_MACX)
    108     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    109                << SIGILL << SIGUSR1;
    110 #else
    111107    signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    112108               << SIGILL << SIGRTMIN;
    113 #endif
    114109    SignalHandler::Init(signallist);
    115110    SignalHandler::SetHandler(SIGHUP, logSigHup);
    116111#endif
  • .osx-packager/src/myth-git/mythtv/programs/mythmediaserver/main.cpp

    old new  
    110110
    111111#ifndef _WIN32
    112112    QList<int> signallist;
    113 #if defined(Q_OS_MACX)
    114     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    115                << SIGILL << SIGUSR1;
    116 #else
    117113    signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    118114               << SIGILL << SIGRTMIN;
    119 #endif
    120115    SignalHandler::Init(signallist);
    121116    signal(SIGHUP, SIG_IGN);
    122117#endif
  • .osx-packager/src/myth-git/mythtv/programs/mythmetadatalookup/main.cpp

    old new  
    9090
    9191#ifndef _WIN32
    9292    QList<int> signallist;
    93 #if defined(Q_OS_MACX)
    94     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    95                << SIGILL << SIGUSR1;
    96 #else
    9793    signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    9894               << SIGILL << SIGRTMIN;
    99 #endif
    10095    SignalHandler::Init(signallist);
    10196    signal(SIGHUP, SIG_IGN);
    10297#endif
  • .osx-packager/src/myth-git/mythtv/programs/mythpreviewgen/main.cpp

    old new  
    205205
    206206#ifndef _WIN32
    207207    QList<int> signallist;
    208 #if defined(Q_OS_MACX)
    209     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    210                << SIGILL << SIGUSR1;
    211 #else
    212208    signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    213209               << SIGILL << SIGRTMIN;
    214 #endif
    215210    SignalHandler::Init(signallist);
    216211    signal(SIGHUP, SIG_IGN);
    217212#endif
  • .osx-packager/src/myth-git/mythtv/programs/mythshutdown/main.cpp

    old new  
    786786
    787787#ifndef _WIN32
    788788    QList<int> signallist;
    789 #if defined(Q_OS_MACX)
    790     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    791                << SIGILL << SIGUSR1;
    792 #else
    793789    signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    794790               << SIGILL << SIGRTMIN;
    795 #endif
    796791    SignalHandler::Init(signallist);
    797792    signal(SIGHUP, SIG_IGN);
    798793#endif
  • .osx-packager/src/myth-git/mythtv/programs/mythtranscode/main.cpp

    old new  
    376376
    377377#ifndef _WIN32
    378378    QList<int> signallist;
    379 #if defined(Q_OS_MACX)
    380     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    381                << SIGILL << SIGUSR1;
    382 #else
    383379    signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    384380               << SIGILL << SIGRTMIN;
    385 #endif
    386381    SignalHandler::Init(signallist);
    387382    signal(SIGHUP, SIG_IGN);
    388383#endif
  • .osx-packager/src/myth-git/mythtv/programs/mythtv-setup/main.cpp

    old new  
    286286
    287287#ifndef _WIN32
    288288    QList<int> signallist;
    289 #if defined(Q_OS_MACX)
    290     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    291                << SIGILL << SIGUSR1;
    292 #else
    293289    signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    294290               << SIGILL << SIGRTMIN;
    295 #endif
    296291    SignalHandler::Init(signallist);
    297292    signal(SIGHUP, SIG_IGN);
    298293#endif
  • .osx-packager/src/myth-git/mythtv/programs/mythutil/main.cpp

    old new  
    7878
    7979#ifndef _WIN32
    8080    QList<int> signallist;
    81 #if defined(Q_OS_MACX)
    82     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    83                << SIGILL << SIGUSR1;
    84 #else
    8581    signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    8682               << SIGILL << SIGRTMIN;
    87 #endif
    8883    SignalHandler::Init(signallist);
    8984    signal(SIGHUP, SIG_IGN);
    9085#endif
  • .osx-packager/src/myth-git/mythtv/programs/mythwelcome/main.cpp

    old new  
    7676
    7777#ifndef _WIN32
    7878    QList<int> signallist;
    79 #if defined(Q_OS_MACX)
    80     signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    81                << SIGILL << SIGUSR1;
    82 #else
    8379    signallist << SIGINT << SIGTERM << SIGSEGV << SIGABRT << SIGBUS << SIGFPE
    8480               << SIGILL << SIGRTMIN;
    85 #endif
    8681    SignalHandler::Init(signallist);
    8782    signal(SIGHUP, SIG_IGN);
    8883#endif