blob: cece21c2bc5f592b1d67fdbac7a939e363d3bd07 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- io.c.orig 2020-11-07 11:15:40 UTC
+++ io.c
@@ -119,8 +119,6 @@ cal_fopen(const char *file)
FILE *fp;
char *home = getenv("HOME");
unsigned int i;
- struct stat sb;
- static bool warned = false;
if (home == NULL || *home == '\0') {
warnx("Cannot get home directory");
@@ -145,10 +143,6 @@ cal_fopen(const char *file)
}
warnx("can't open calendar file \"%s\"", file);
- if (!warned && stat(_PATH_INCLUDE_LOCAL, &sb) != 0) {
- warnx("calendar data files now provided by calendar-data pkg.");
- warned = true;
- }
return (NULL);
}
|