]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - logrotate/patches/logrotate-3.7.7-curdir.patch
Change file layout of the makefiles.
[people/ms/ipfire-3.x.git] / logrotate / patches / logrotate-3.7.7-curdir.patch
1 diff -up logrotate-3.7.7/config.c.curdir logrotate-3.7.7/config.c
2 --- logrotate-3.7.7/config.c.curdir 2008-05-09 09:28:59.000000000 +0200
3 +++ logrotate-3.7.7/config.c 2008-11-20 15:35:05.000000000 +0100
4 @@ -316,11 +316,6 @@ static int readConfigPath(const char *pa
5 DIR *dirp;
6
7 here = open(".", O_RDONLY);
8 - if (here < 0) {
9 - message(MESS_ERROR, "cannot open current directory: %s\n",
10 - strerror(errno));
11 - return 1;
12 - }
13
14 if ((dirp = opendir(path)) == NULL) {
15 message(MESS_ERROR, "cannot open directory %s: %s\n", path,