[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] Huge files on Win32
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] Huge files on Win32 |
Date: |
Thu, 8 Jan 2015 20:57:55 -0500 (EST) |
----- Original Message -----
| From: "Gisle Vanem" <address@hidden>
| To: "Lynx-dev" <address@hidden>
| Sent: Thursday, January 8, 2015 10:23:50 AM
| Subject: [Lynx-dev] Huge files on Win32
|
| I've built the latest version using both MingW and MSVC. But
| I'm having difficulty showing local huge-files (>4GB)
| correctly. Without or with a "LIST_FORMAT: %5K %-12.12d %a",
| doesn't matter. E.g from the command 'lynx f:/':
| -1122303K Nov 08 12:23 pagefile.sys
|
| Please take a look at the attached screenshot.
|
| AFAICS, Lynx/Win32 doesn't use a 'PRI_off_t "I64d"'
| as it should here. Hence the roll-over into negative values.
| But looking through the messy details in HTFile.c + HTUtils.h,
| I have no clue how to fix this. Anyone?
MinGW in that area is just plain broken.
You probably can't get that with 32-bit MSVC.
(When I first investigated this area with MSVC, only the 32-bit compiler
was usable, but it's possible to do 64-bit compiles with the free compiler,
iirc).
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net