http://d.puremagic.com/issues/show_bug.cgi?id=4060


Justin Spahr-Summers <justin.spahrsumm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |justin.spahrsumm...@gmail.c
                   |                            |om


--- Comment #1 from Justin Spahr-Summers <justin.spahrsumm...@gmail.com> 
2010-04-05 03:06:44 CDT ---
This strikes me as a mistake in the Phobos declaration of seek(). The
underlying stdio fseek() function can only take longs as offsets, and Phobos'
seek() is defined the same way; however, a 'long' in C almost always
corresponds to an 'int' in D.

It's definitely a bug one way or the other, but to work around it you may want
to use offsets from SEEK_CUR instead of SEEK_SET.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to