Changeset 261 for SH_SHM/trunk


Ignore:
Timestamp:
08/11/2010 09:56:46 AM (13 years ago)
Author:
marcus
Message:

r134 | klaus | 2010-08-11 09:51:01 +0200 (Mi, 11 Aug 2010) | 1 line

fixed bug when reading data until midnight with a trailing gap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SH_SHM/trunk/source/seed_io/seed_lib.c

    r68 r261  
    33 *      ========== 
    44 * 
    5  * $Revision: 53 $, $Date: 2008-10-21 09:13:49 +0200 (Di, 21 Okt 2008) $ 
     5 * $Revision: 134 $, $Date: 2010-08-11 09:51:01 +0200 (Mi, 11 Aug 2010) $ 
    66 * 
    77 * SEED library 
     
    24942494                if  (swap)  swap_data = !swap_data; 
    24952495                if  (*status == SeedERR_NEXTTIMEPOS)  *status = BC_NOERROR; 
     2496                if  (*status == SeedERR_SFD_NOTFOUND && *smplth > 0)  { 
     2497                        /* last part of trace not available, truncate data */ 
     2498                        *status = BC_NOERROR; 
     2499            fprintf( stderr, "*Seed: data truncated to %d samples\n", *smplth ); 
     2500                        break; 
     2501                } /*endif*/ 
    24962502                if  (Severe(status))  return; 
    24972503 
Note: See TracChangeset for help on using the changeset viewer.