This patch looks incorrect. Per the manual.txt file, LInpac supports a daemon mode where the program runs in the background. It's not clear to me what this check is trying to do either... thoughts?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This patch looks incorrect. Per the manual.txt file, LInpac supports a daemon mode where the program runs in the background. It's not clear to me what this check is trying to do either... thoughts?
The lines about bconfig(daemon) are not relevant - they dont’ alter the control flow.
The issue is just the “1” parameter to Message - it is a Unix error code. It should be ‘0’ because “ALt-X to exit” is not an error.
Don’t you get an error after “Alt-X to Exit” when you run linpac? does the Alt-X message show for you?
I'm not changing the daemon mode, only changing 1 to 0 in this line:
First argument to Message is an errno. 1 == EPERM.
Actually on my system it looks like this (Spanish):
This patch removes the "OperaciMMn no permitida"
Last edit: Steven R. Loomis 2016-02-05
This was actually merged manaully back on Feb 4 14:40:03 2016