[Issue 2364] ftell return type is long in C, that is 64-bit on x86-64
https://issues.dlang.org/show_bug.cgi?id=2364 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Version|2.019 |D2 --
[Issue 2364] ftell return type is long in C, that is 64-bit on x86-64
http://d.puremagic.com/issues/show_bug.cgi?id=2364 Andrei Alexandrescu and...@metalanguage.com changed: What|Removed |Added CC||and...@metalanguage.com --- Comment #7 from Andrei Alexandrescu and...@metalanguage.com 2009-10-20 12:10:56 PDT --- I'd like to replace the antiquated fseek/ftell routines with 64-bit routines straight inside druntime. On Windows, there's _fseeki64: http://msdn.microsoft.com/en-us/library/75yw9bf3%28VS.80%29.aspx On Linux, there's fseeko64: http://www.mkssoftware.com/docs/man3/fseek.3.asp I couldn't find the appropriate OSX routine, and I wouldn't be able to test it either. I know Sean is very busy, so may I get a hand from around here? Ideally what I'd like to do would be to take care of whatever forwarding/aliasing is needed inside druntime to make the normal fseek and ftell routines use 64-bit ulong. (Sean approved.) Please let me know if you could help, thanks! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 2364] ftell return type is long in C, that is 64-bit on x86-64
http://d.puremagic.com/issues/show_bug.cgi?id=2364 Sobirari Muhomori dfj1es...@sneakemail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 2364] ftell return type is long in C, that is 64-bit on x86-64
http://d.puremagic.com/issues/show_bug.cgi?id=2364 Tomas Lindquist Olsen to...@famolsen.dk changed: What|Removed |Added CC||to...@famolsen.dk --- Comment #5 from Tomas Lindquist Olsen to...@famolsen.dk 2009-10-19 03:20:56 PDT --- Even with the misunderstanding of C long being 32 or 64 bit, translating a C long to a D int is still wrong. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 2364] ftell return type is long in C, that is 64-bit on x86-64
http://d.puremagic.com/issues/show_bug.cgi?id=2364 Brad Roberts bra...@puremagic.com changed: What|Removed |Added CC||bra...@puremagic.com Resolution|INVALID |FIXED --- Comment #6 from Brad Roberts bra...@puremagic.com 2009-10-19 09:20:26 PDT --- Changing to resolved-fixed. In druntime, where this stuff lives now, it's defined as a c_long: c_long ftell(FILE* stream); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---