Changeset 98
- Timestamp:
- 02/18/2009 08:34:24 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
SH_SHM/trunk/source/seed_io/seed_tidy.c
r16 r98 709 709 static int recnum=1; /* record counter */ 710 710 static int sngcnt=1; /* single record counter */ 711 static int last_reclth=0; /* length of last record */ 712 int this_reclth; /* length of this record */ 711 713 NTIME r_start, r_end; /* times of current record */ 712 714 NTIME nametime; /* time used for filename */ … … 925 927 if (F_SINGLERECS & flags) new_file = TRUE; 926 928 929 /* new file if the record lenth changes */ 930 this_reclth = SeedGetReclth( (SeedDataHeaderT *)rec, FALSE ); 931 if (last_reclth > 0 && this_reclth != last_reclth) { 932 printf( "record length changed from %d to %d\n", last_reclth, 933 this_reclth ); 934 new_file = TRUE; 935 } /*endif*/ 936 last_reclth = this_reclth; 937 927 938 /* open new file if necessary */ 928 939 if (new_file) {
Note: See TracChangeset
for help on using the changeset viewer.