diff options
Diffstat (limited to 'deskutils/ical')
-rw-r--r-- | deskutils/ical/files/patch-calendar_calfile.C | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/deskutils/ical/files/patch-calendar_calfile.C b/deskutils/ical/files/patch-calendar_calfile.C new file mode 100644 index 000000000000..3422711a1273 --- /dev/null +++ b/deskutils/ical/files/patch-calendar_calfile.C @@ -0,0 +1,11 @@ +--- calendar/calfile.C.orig 1997-05-24 00:23:52 UTC ++++ calendar/calfile.C +@@ -60,7 +60,7 @@ CalFile::CalFile(int ro, const char* nam + 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]; |