Overview
| Artifact ID: | 88077a4b4e610d2e858ff7b9f00c997bd176c9c1 |
|---|---|
| Ticket: | 1809298fffffffffffffffffffffffffffffffff
binary scan / scan |
| User & Date: | nobody on 2007-10-08 07:29:03 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
I have a problem when I extract datas from a binary file named gshhs_f.b from a package located on this website : ftp://ftp.soest.hawaii.edu/pwessel/gshhs/gshhs_1.5.zip The use of C demo program from : ftp://ftp.soest.hawaii.edu/pwessel/gshhs/gshhs_1.8_src.zip and an hex edit with Xemacs show a value of byte number 35383703 to be B4 (hex), but when I read it from different ways (in tcl) the result is 7D. I use first a tcl script as the C demo program : it works fine until this byte. (file : cvrt2xdr.tcl). The line : 54 9853 2 112.353333 135.87...... must be 54 9908 2 .... (the second term is the offset of the next -55- data zone; you can see that is wrong ;output file : return_cvr2xdr) I create a test script (bug.tcl;output file : return_bug) to show the problem. My "uname -a" result is: Linux 2.6.12-31mdksmp #1 SMP Fri Mar 2 10:40:41 MST 2007 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ unknown GNU/Linux tcl is 8.4. I tested it on PC 32bits and I had the same results. 4 attached files (2 scripts and 2 output files) in a tar.gz file, the input file is on website (see beginning of text). thanks to answer me [email protected]
- foundin changed to: "obsolete: 8.4.16"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "23. [scan]"
- title changed to: "binary scan / scan "
- type changed to: "Bug"