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

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

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

revision 6.2 by pam-fi, Tue Oct 24 11:28:38 2006 UTC revision 6.3 by pam-fi, Thu Nov 2 12:20:08 2006 UTC
# Line 56  void readbad_(unsigned short *bad_buf, i Line 56  void readbad_(unsigned short *bad_buf, i
56      int nbytes2=2;      int nbytes2=2;
57      char *buff=buffer;      char *buff=buffer;
58            
59      if( *curpos+(2*64)+2>*len ) {      if( *curpos+(2*64)+2-1>*len ) {
60          printf("readbad: Unexpected end of file \n");          printf("readbad: Unexpected end of file \n");
61          *error=1;          *error=1;
62          return ;          return ;

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

  ViewVC Help
Powered by ViewVC 1.1.23