Changeset 172 for SH_SHM/trunk/source/seed_io/sfd2db.c
- Timestamp:
- 12/01/2009 07:56:45 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
SH_SHM/trunk/source/seed_io/sfd2db.c
r41 r172 3 3 * ======== 4 4 * 5 * $Revision: 26 $, $Date: 2008-02-11 16:00:39 +0100 (Mo, 11 Feb 2008) $5 * $Revision: 101 $, $Date: 2009-11-27 11:48:20 +0100 (Fr, 27 Nov 2009) $ 6 6 * 7 7 * reads lines from sfdfile and creates commands to insert into sfdb database … … 58 58 TSyBoolean invhdr; /* invert header info in sfd entry */ 59 59 TSyBoolean baynet; /* convert SH to BH for Bayernnetz */ 60 TSyBoolean modgec2; /* modify gec2a and gec2b to gec2 */ 60 61 TSyBoolean go; /* end tmpfile with insert statements with \g */ 61 62 … … 77 78 baynet = pa_qspecified( "-baynet" ); 78 79 go = pa_qspecified( "-go" ); 80 modgec2 = 1; 79 81 80 82 if (noignore) { … … 268 270 if (strncmp(descr.stream,"rotz-sh",7) == 0) descr.stream[5] = 'b'; 269 271 } /*endif*/ 272 if (modgec2) { 273 char tmpstr[cBcLineLth+1]; 274 if (strncmp(descr.stream,"gec2a",5) == 0 275 || strncmp(descr.stream,"gec2b",5) == 0) { 276 strcpy( tmpstr, descr.stream+5 ); 277 strcpy( descr.stream+4, tmpstr ); 278 } /*endif*/ 279 } /*endif*/ 270 280 271 281 /* parse stream string */
Note: See TracChangeset
for help on using the changeset viewer.