mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 05:40:30 -04:00
- Submitter becomes maintainer - While here add missing dependencies http://beefy11.nyi.freebsd.org/data/head-i386-default/p473790_s335878/logs/ical-2.2_4.log PR: 226799 Reported by: bob@immure.com Submitted by: fbsd@opal.com
11 lines
389 B
C
11 lines
389 B
C
--- calendar/calfile.C.orig 1997-05-24 00:23:52 UTC
|
|
+++ calendar/calfile.C
|
|
@@ -60,7 +60,7 @@ CalFile::CalFile(int ro, const char* name) {
|
|
backupName = tmp;
|
|
|
|
// Get directory name for access checks
|
|
- char* lastSlash = strrchr(name, '/');
|
|
+ const char* lastSlash = strrchr(name, '/');
|
|
if (lastSlash == 0) {
|
|
/* Calendar is in current directory */
|
|
tmp = new char[3];
|