git.schokokeks.org
Repositories
Help
Report an Issue
keks-overlay.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
456e1d5
Branches
Tags
master
keks-overlay.git
sys-process
vixie-cron
files
vixie-cron-4.1-basename.diff
temporarily add vixie-cron until we migrate to something else
Hanno
commited
456e1d5
at 2019-10-15 09:37:14
vixie-cron-4.1-basename.diff
Blame
History
Raw
diff --exclude='*~' -urN vixie-cron-4.1.orig/cron.c vixie-cron-4.1/cron.c --- vixie-cron-4.1.orig/cron.c 2005-02-23 02:05:30.730975808 -0500 +++ vixie-cron-4.1/cron.c 2005-02-23 02:07:13.233393072 -0500 @@ -25,6 +25,7 @@ #define MAIN_PROGRAM +#include <libgen.h> #include "cron.h" enum timejump { negative, small, medium, large }; @@ -61,7 +62,7 @@ cron_db database; int fd; - ProgramName = argv[0]; + ProgramName = basename(argv[0]); setlocale(LC_ALL, "");