/[gentoo-alt]/trunk/sys-process/vixie-cron/files/vixie-cron-4.1-basename.diff
Gentoo

Contents of /trunk/sys-process/vixie-cron/files/vixie-cron-4.1-basename.diff

Parent Directory Parent Directory | Revision Log Revision Log


Revision 371 - (show annotations) (download)
Sat May 14 13:59:10 2005 UTC (9 years, 7 months ago) by flameeyes
File MIME type: text/plain
File size: 479 byte(s)
Added vixie-cron with fixed pamd file and virtual/pam dependency.

1 diff --exclude='*~' -urN vixie-cron-4.1.orig/cron.c vixie-cron-4.1/cron.c
2 --- vixie-cron-4.1.orig/cron.c 2005-02-23 02:05:30.730975808 -0500
3 +++ vixie-cron-4.1/cron.c 2005-02-23 02:07:13.233393072 -0500
4 @@ -25,6 +25,7 @@
5
6 #define MAIN_PROGRAM
7
8 +#include <libgen.h>
9 #include "cron.h"
10
11 enum timejump { negative, small, medium, large };
12 @@ -61,7 +62,7 @@
13 cron_db database;
14 int fd;
15
16 - ProgramName = argv[0];
17 + ProgramName = basename(argv[0]);
18
19 setlocale(LC_ALL, "");
20

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20