--- rxvt-unicode/src/rxvt.C 2011/12/17 23:17:33 1.23 +++ rxvt-unicode/src/rxvt.C 2021/06/26 14:42:36 1.26 @@ -7,7 +7,7 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -23,8 +23,8 @@ #include "../config.h" #include "rxvt.h" -#include -#include +#include +#include int main (int argc, char *argv[]) @@ -43,4 +43,9 @@ { return EXIT_FAILURE; } +catch (const std::exception &e) + { + fputs (e.what (), stderr); + return EXIT_FAILURE; + }