[vdr] A difference b/n vdr-1.3.26-enAIO-2.3.diff and vdr-1.3.27-enAIO-2.3.diff

C.Y.M syphir at syphir.sytes.net
Mon Jun 20 06:47:57 CEST 2005


C.Y.M wrote:
> Starting with vdr-1.3.26, the recording date in VDR uses DD-MM-YY, instead of
> just DD-MM.  When I compare the latest enAIO patch for vdr-1.3.27 with the
> previous patch for vdr-1.3.26, it looks like the array has gone back to the
> original size of 6.  Is this correct?
> 
> 
> +--- vdr-1.3.26/recording.c     2005-06-05 07:11:45.000000000 -0700
> ++++ vdr-1.3.27/recording.c        2005-06-19 08:06:39.000000000 -0700
>  @@ -52,6 +52,7 @@
>   #endif
>   #define INFOFILESUFFIX    "/info.vdr"
> @@ -911,7 +911,7 @@
>  +     else {
>  +        struct tIndex { int offset; uchar type; uchar number; short reserved; };
>  +        tIndex *index;
> -+        char RecLength[21], RecDate[6], RecTime[6], RecDelimiter[2];
> ++        char RecLength[21], RecDate[9], RecTime[6], RecDelimiter[2];
>  +        if (Setup.ShowRecLength) {
>  +           char *filename = NULL;
>  +           int last = -1;
> 

I believe the previous patch using "RecDate[9]" is the correct size. Else, the
day is cut off.

C.



More information about the vdr mailing list