<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Today&#8217;s &#8220;Little Bobby Tables&#8221; Moment</title>
	<atom:link href="http://blog.xcski.com/2007/10/18/todays-little-bobby-tables-moment/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.xcski.com/2007/10/18/todays-little-bobby-tables-moment</link>
	<description>Everything I used to bore people on newsgroups and mailing lists with, now in one inconvenient place.</description>
	<pubDate>Sun, 20 Jul 2008 22:39:21 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Shawn</title>
		<link>http://blog.xcski.com/2007/10/18/todays-little-bobby-tables-moment#comment-66507</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Fri, 30 Nov 2007 03:58:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xcski.com/2007/10/18/todays-little-bobby-tables-moment#comment-66507</guid>
		<description>No the binaries are not compiled for OS X.  (The windows one does run on an XP machine).   I have the WMM.COF file in the same directory and imported into the Xcode project.  It is listed as a Unix execution file (in Get Info), however when I open it in AquaMacs it says "DOS format".  
   The code that is crashing is when I run what I compiled (geomag.c +WMM.COF).  The source compiles successfully but then I get that SIGBUS error and GDB opens up and points to the sscanf line....  Seems like maybe WMM.COF isn't formatted properly and it isn't being parsed correctly?</description>
		<content:encoded><![CDATA[<p>No the binaries are not compiled for OS X.  (The windows one does run on an XP machine).   I have the WMM.COF file in the same directory and imported into the Xcode project.  It is listed as a Unix execution file (in Get Info), however when I open it in AquaMacs it says &#8220;DOS format&#8221;.<br />
   The code that is crashing is when I run what I compiled (geomag.c +WMM.COF).  The source compiles successfully but then I get that SIGBUS error and GDB opens up and points to the sscanf line&#8230;.  Seems like maybe WMM.COF isn&#8217;t formatted properly and it isn&#8217;t being parsed correctly?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Tomblin</title>
		<link>http://blog.xcski.com/2007/10/18/todays-little-bobby-tables-moment#comment-66453</link>
		<dc:creator>Paul Tomblin</dc:creator>
		<pubDate>Thu, 29 Nov 2007 19:15:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xcski.com/2007/10/18/todays-little-bobby-tables-moment#comment-66453</guid>
		<description>I hope you don't mean that you tried to run one of those two binaries on Mac OS X.  The statement it's crashing in is when it first attempts to read the WMM.COF (previously wmm_95.dat) file.  Are you sure you have that file, and it's in the current directory?</description>
		<content:encoded><![CDATA[<p>I hope you don&#8217;t mean that you tried to run one of those two binaries on Mac OS X.  The statement it&#8217;s crashing in is when it first attempts to read the WMM.COF (previously wmm_95.dat) file.  Are you sure you have that file, and it&#8217;s in the current directory?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn</title>
		<link>http://blog.xcski.com/2007/10/18/todays-little-bobby-tables-moment#comment-66451</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Thu, 29 Nov 2007 19:04:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xcski.com/2007/10/18/todays-little-bobby-tables-moment#comment-66451</guid>
		<description>The code compiles but crashes with the error:
worldMag has exited due to signal 10 (SIGBUS).

It seems the line:
  fgets(d_str, 80, wmmtemp);
is where it crashes.  My copy didn't come with different directories, only two precompiled binaries (1 for windows and 1 for linux).  

The included libraries that came with it are
stdio
stdlib
string
math
(mathimf.h commented out)

I would appreciate any suggestions  - I don't know of anyone else using this on Mac.</description>
		<content:encoded><![CDATA[<p>The code compiles but crashes with the error:<br />
worldMag has exited due to signal 10 (SIGBUS).</p>
<p>It seems the line:<br />
  fgets(d_str, 80, wmmtemp);<br />
is where it crashes.  My copy didn&#8217;t come with different directories, only two precompiled binaries (1 for windows and 1 for linux).  </p>
<p>The included libraries that came with it are<br />
stdio<br />
stdlib<br />
string<br />
math<br />
(mathimf.h commented out)</p>
<p>I would appreciate any suggestions  - I don&#8217;t know of anyone else using this on Mac.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Tomblin</title>
		<link>http://blog.xcski.com/2007/10/18/todays-little-bobby-tables-moment#comment-65970</link>
		<dc:creator>Paul Tomblin</dc:creator>
		<pubDate>Tue, 27 Nov 2007 16:18:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xcski.com/2007/10/18/todays-little-bobby-tables-moment#comment-65970</guid>
		<description>Shawn, the geomag.c program is pretty old.  You might need to update the includes a bit.  My copy of geomag.c came with two versions, one in a directory called "geomagu" and the other called "geomagp".  The "u" in "geomagu" evidently stands for "unix", and that's the one that will probably work better on Mac OS X.

What errors are you getting?</description>
		<content:encoded><![CDATA[<p>Shawn, the geomag.c program is pretty old.  You might need to update the includes a bit.  My copy of geomag.c came with two versions, one in a directory called &#8220;geomagu&#8221; and the other called &#8220;geomagp&#8221;.  The &#8220;u&#8221; in &#8220;geomagu&#8221; evidently stands for &#8220;unix&#8221;, and that&#8217;s the one that will probably work better on Mac OS X.</p>
<p>What errors are you getting?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn</title>
		<link>http://blog.xcski.com/2007/10/18/todays-little-bobby-tables-moment#comment-65968</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Tue, 27 Nov 2007 16:11:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.xcski.com/2007/10/18/todays-little-bobby-tables-moment#comment-65968</guid>
		<description>I am trying to use the same WMM for a project and I cannot get it to compile.  GDB indicates there is a problem with the 'sscanf' function in geomag.c.  I have tried under Tiger and Leopard and even... windows.   Can you shed some light on this?</description>
		<content:encoded><![CDATA[<p>I am trying to use the same WMM for a project and I cannot get it to compile.  GDB indicates there is a problem with the &#8217;sscanf&#8217; function in geomag.c.  I have tried under Tiger and Leopard and even&#8230; windows.   Can you shed some light on this?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
