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

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

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

revision 5.1 by kusanagi, Sat Feb 4 12:37:45 2006 UTC revision 6.3 by pam-fi, Thu Nov 2 12:20:08 2006 UTC
# Line 56  void getbytes_(int *nbytes, char *buffer Line 56  void getbytes_(int *nbytes, char *buffer
56      int nbytes2=2;      int nbytes2=2;
57      char *buff=buffer;      char *buff=buffer;
58    
59      for(i=0; i<1024; i++){      if( *curpos+(2*1024)-1>*len ) {
         getbytes_(&nbytes2,buff,curpos,&sig_buf_temp[i]);  
         
       if( *curpos-1>*len ) {  
60          printf("readsig: Unexpected end of file \n");          printf("readsig: Unexpected end of file \n");
61          *error=1;          *error=1;
62          return ;          return ;
       }  
63      }      }
64        
65        for(i=0; i<1024; i++)
66            getbytes_(&nbytes2,buff,curpos,&sig_buf_temp[i]);
67    
68  /*****************************************************************/  /*****************************************************************/
69    
70    

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

  ViewVC Help
Powered by ViewVC 1.1.23