.
D 2007-10-08T07:29:03
J assignee hobbs
J cmimetype text/plain
J comment I\shave\sa\sproblem\swhen\sI\sextract\sdatas\sfrom\sa\sbinary\sfile\snamed\sgshhs_f.b\sfrom\sa\spackage\slocated\son\sthis\swebsite\s:\n\sftp://ftp.soest.hawaii.edu/pwessel/gshhs/gshhs_1.5.zip\nThe\suse\sof\sC\sdemo\sprogram\sfrom\s:\nftp://ftp.soest.hawaii.edu/pwessel/gshhs/gshhs_1.8_src.zip\nand\san\shex\sedit\swith\sXemacs\sshow\sa\svalue\sof\sbyte\snumber\n35383703\sto\sbe\sB4\s(hex),\sbut\swhen\sI\sread\sit\sfrom\sdifferent\sways\s(in\stcl)\sthe\sresult\sis\s7D.\nI\suse\sfirst\sa\stcl\sscript\sas\sthe\sC\sdemo\sprogram\s:\sit\sworks\sfine\suntil\sthis\sbyte.\s(file\s:\scvrt2xdr.tcl).\nThe\sline\s:\n54\s9853\s2\s112.353333\s135.87......\smust\sbe\n54\s9908\s2\s....\n(the\ssecond\sterm\sis\sthe\soffset\sof\sthe\snext\s-55-\sdata\szone;\syou\s\scan\ssee\sthat\sis\swrong\s;output\sfile\s:\sreturn_cvr2xdr)\nI\screate\sa\stest\sscript\s(bug.tcl;output\sfile\s:\sreturn_bug)\sto\sshow\sthe\sproblem.\nMy\s"uname\s-a"\sresult\sis:\nLinux\s2.6.12-31mdksmp\s#1\sSMP\sFri\sMar\s2\s10:40:41\sMST\s2007\sx86_64\sAMD\sAthlon(tm)\s64\sX2\sDual\sCore\sProcessor\s3800+\sunknown\sGNU/Linux\ntcl\sis\s8.4.\nI\stested\sit\son\sPC\s32bits\sand\sI\shad\sthe\ssame\sresults.\n4\sattached\sfiles\s(2\sscripts\sand\s2\soutput\sfiles)\sin\sa\star.gz\sfile,\nthe\sinput\sfile\sis\son\swebsite\s(see\sbeginning\sof\stext).\n\nthanks\sto\sanswer\sme\[email protected]
J foundin obsolete:\s8.4.16
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 23.\s[scan]
J title binary\sscan\s/\sscan\s
J type Bug
K 1809298fffffffffffffffffffffffffffffffff
U nobody
Z 568b63bb2377c134473aeee51f1b983f