| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/deskutils/calendar/files/ |
Upload File : |
--- 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);
}