Changeset 499 for SH_SHM/trunk/source/seed_io/seed_lib.c
- Timestamp:
- 11/24/2011 05:51:09 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
SH_SHM/trunk/source/seed_io/seed_lib.c
r352 r499 3 3 * ========== 4 4 * 5 * $Revision: 189 $, $Date: 2011-03-25 18:54:37 +0100 (Fr, 25 MÀr2011) $5 * $Revision: 260 $, $Date: 2011-11-24 17:04:40 +0100 (Do, 24. Nov 2011) $ 6 6 * 7 7 * SEED library … … 1401 1401 } /*endif*/ 1402 1402 /* end of blockette 1001 code */ 1403 # ifdef cBc_OS_LINUX1404 1403 SeedStoreReclth( hdr, seedv_out_reclth ); 1405 1404 SeedSwapHeader( hdr ); 1406 1405 SeedSwapLinuxRecord( (SeedSbyteT *)hdr, seedv_out_reclth ); 1407 # endif1408 1406 write_ret = (int)write( fd, (char *)hdr, seedv_out_reclth ); 1409 # ifdef cBc_OS_LINUX1410 1407 /* swap it back otherwise not readable any more */ 1411 1408 SeedSwapHeader( hdr ); 1412 1409 SeedSwapLinuxRecord( (SeedSbyteT *)hdr, seedv_out_reclth ); 1413 # endif1414 1410 if (write_ret != seedv_out_reclth) { 1415 1411 *status = SeedERR_SEEDWRITE; … … 1507 1503 strncpy( (char *)hdr, str, 6 ); 1508 1504 hdr->Reserved_bytes_A = ' '; 1509 # ifdef cBc_OS_LINUX1510 1505 SeedStoreReclth( hdr, seedv_out_reclth ); 1511 1506 SeedSwapHeader( hdr ); 1512 1507 SeedSwapLinuxRecord( (SeedSbyteT *)hdr, seedv_out_reclth ); 1513 # endif1514 1508 write_ret = (int)write( fd, (char *)hdr, seedv_out_reclth ); 1515 # ifdef cBc_OS_LINUX1516 1509 /* swap it back otherwise not readable any more */ 1517 1510 SeedSwapHeader( hdr ); 1518 1511 SeedSwapLinuxRecord( (SeedSbyteT *)hdr, seedv_out_reclth ); 1519 # endif1520 1512 if (write_ret != seedv_out_reclth) { 1521 1513 *status = SeedERR_SEEDWRITE;
Note: See TracChangeset
for help on using the changeset viewer.