git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 2/2] MinGW: 64-bit file offsets

From
Johannes Sixt <j6t@kdbg.org>
Date
Mar 5, 2009, 20:53 UTC
Message-ID
<200903052153.45398.j6t@kdbg.org>
In-Reply-To
<ae01b6dfcd430694dad008bbf201ee1490b071a1.1236268730u.git.johannes.schindelin@gmx.de>
On Donnerstag, 5. März 2009, Johannes Schindelin wrote:
Show 13 quoted lines
> The type 'off_t' should be used everywhere so that the bit-depth of that
> type can be adjusted in the standard C library, and you just need to
> recompile your program to benefit from the extended precision.
>
> Only that it was not done that way in the MS runtime library.
>
> This patch reroutes off_t to off64_t and provides the other necessary
> changes so that finally, clones larger than 2 gigabyte work on Windows
> (provided you are on a file system that allows files larger than 2gb).
>
> Initial patch by Sickboy <sb@dev-heaven.net>.
>
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Acked-by: Johannes Sixt <j6t@kdbg.org>
-- Hannes
Previous: Johannes Schindelin
Message 10 of 10 in “2GB fixes for Windows”
  1. 0/2 2GB fixes for WindowsJohannes Schindelin, Mar 5, 2009
  2. 1/2 Add an (optional, since expensive) test for >2g clonesJohannes Schindelin, Mar 5, 2009
  3. Jeff KingMar 5, 2009
  4. Johannes SchindelinMar 5, 2009
  5. Jeff KingMar 5, 2009
  6. Junio C HamanoMar 5, 2009
  7. 1/2 Add an (optional, since expensive) test for >2gb clonesJohannes Schindelin, Mar 6, 2009
  8. 2/2 MinGW: 64-bit file offsetsJohannes Schindelin, Mar 6, 2009
  9. 2/2 MinGW: 64-bit file offsetsJohannes Schindelin, Mar 5, 2009
  10. Johannes SixtMar 5, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.