all repos — fluxbox @ fae88b329c63c16755f2c9b7a5a655a1414ab10f

custom fork of the fluxbox windowmanager

Output the error message on fallback restart execs (sf.net patch 
#1475213). Thanks Jonas Koelker, jonaskoelker at users.sourceforge.net.
simonb simonb
commit

fae88b329c63c16755f2c9b7a5a655a1414ab10f

parent

acf4326f3cc3451aaf874b0b0777d69be5834e57

2 files changed, 9 insertions(+), 1 deletions(-)

jump to
M ChangeLogChangeLog

@@ -1,5 +1,9 @@

(Format: Year/Month/Day) Changes for 0.9.16: +*06/04/25: + * Output the error message on fallback restart execs (sf patch#1475213) + (Thanks Jonas Kölker, jonaskoelker at users.sourceforge.net). + main.cc *06/04/24: * Use -Wall when --enable-debug and some warning fixes (Simon + thanks Jonas Koelker)
M src/main.ccsrc/main.cc

@@ -312,7 +312,11 @@ }

// fall back in case the above execlp doesn't work execvp(argv[0], argv); - execvp(FbTk::StringUtil::basename(argv[0]).c_str(), argv); + perror(argv[0]); + + const char *basename = FbTk::StringUtil::basename(argv[0]).c_str(); + execvp(basename, argv); + perror(basename); } return exitcode;