/[PAMELA software]/yoda/techmodel/forroutines/tracker/readraw/readtrailer.c
ViewVC logotype

Diff of /yoda/techmodel/forroutines/tracker/readraw/readtrailer.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 6.2 by mocchiut, Fri Oct 20 11:07:43 2006 UTC revision 6.4 by pam-fi, Thu Nov 2 12:20:08 2006 UTC
# Line 56  void readtrailer_(unsigned short *traile Line 56  void readtrailer_(unsigned short *traile
56      int nbytes2=2;      int nbytes2=2;
57      char *buff=buffer;      char *buff=buffer;
58    
59      if( *curpos+3>*len ) {      if( *curpos+(2*3)-1>*len ) {
60          //      printf("readtrailer: Unexpected end of file \n");        //  printf("readtrailer: Unexpected end of file \n");
61          *error=1;        *error=1;
62          return ;          return ;
63      }      }
64            

Legend:
Removed from v.6.2  
changed lines
  Added in v.6.4

  ViewVC Help
Powered by ViewVC 1.1.23