diff options
author | Foxfair Hu <foxfair@FreeBSD.org> | 2003-10-22 03:06:21 +0000 |
---|---|---|
committer | Foxfair Hu <foxfair@FreeBSD.org> | 2003-10-22 03:06:21 +0000 |
commit | c6c24e03c70afc0a841c8afb26e7928698cdba72 (patch) | |
tree | b0d7799e04608616165cacb7f378bbc2eb3cce00 /multimedia/nxtvepg/files/patch-tcl2c.c | |
parent | Remove blank line to pacify portlint. (diff) |
PR:
Submitted by: maintainer via ports@ list
Reviewed by:
Approved by:
Obtained from:
MFC after:
Upgrade nxtvepg to 2.6.0, contains new features since last version:
o Implemented reminders
o Added weekday scale to the right of the programme list
o Added new programme list attribute type "weekday color"
o Added an expire time filter to the filter menu
Some more feature improvements too, please refer to:
http://nxtvepg.sourceforge.net/changelog.html
Notes
Notes:
svn path=/head/; revision=91861
Diffstat (limited to 'multimedia/nxtvepg/files/patch-tcl2c.c')
-rw-r--r-- | multimedia/nxtvepg/files/patch-tcl2c.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/multimedia/nxtvepg/files/patch-tcl2c.c b/multimedia/nxtvepg/files/patch-tcl2c.c index 52f2eb3497fc..d6eab5c1887d 100644 --- a/multimedia/nxtvepg/files/patch-tcl2c.c +++ b/multimedia/nxtvepg/files/patch-tcl2c.c @@ -1,19 +1,19 @@ ---- tcl2c.c.orig Sun Nov 3 04:15:11 2002 -+++ tcl2c.c Sun Oct 5 18:45:58 2003 -@@ -43,6 +43,7 @@ - +--- tcl2c.c.orig Tue Sep 23 21:49:35 2003 ++++ tcl2c.c Tue Oct 21 13:14:35 2003 +@@ -50,6 +50,7 @@ #include <stdlib.h> + #include <string.h> #include <stdio.h> +#include <time.h> #include <errno.h> - - #define FALSE 0 -@@ -123,6 +124,8 @@ + #include <time.h> + #include <ctype.h> +@@ -429,6 +430,8 @@ scriptName = malloc(fileNameLen + 1); - strncpy(outNameC, argv[1], fileNameLen - 4); - strncpy(outNameH, argv[1], fileNameLen - 4); + strncpy(outNameC, inFileName, fileNameLen - 4); + strncpy(outNameH, inFileName, fileNameLen - 4); + outNameC[fileNameLen-4]=0; + outNameH[fileNameLen-4]=0; - baseName = (char *)strrchr(argv[1], '/'); + baseName = (char *)strrchr(inFileName, '/'); if (baseName != NULL) { |