Johannes Schindelin
bdebc36f21
packfile: widen unpack_entry()'s size out-parameter to size_t
...
The topic `js/objects-larger-than-4gb-on-windows` widened the streaming,
index-pack and unpack-objects paths to `size_t` but deliberately stopped
at the in-memory `unpack_entry()` cascade, which still hands back the
unpacked size through `unsigned long *`. On Windows that boundary
truncates above 4 GiB because that data type is only 32 bits wide on
that platform.
Widen the code path. Except `packed_object_info_with_index_pos()`: It
cannot yet pass `oi->sizep` directly because the field is still
`unsigned long *`; bridge it with a `size_t` temporary that narrows
back, and let a later commit drop the bridge once the field is wide
too. `gfi_unpack_entry()` keeps its narrow signature because fast-import
tracks sizes through `unsigned long` everywhere it crosses subsystem
boundaries, keeping its signature allows the scope of this commit to be
somewhat reasonable, still.
Assisted-by: Opus 4.7
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de >
2026-06-04 09:39:28 +02:00
..
2026-05-15 04:44:39 +09:00
2026-04-10 07:58:53 -07:00
2025-07-01 14:58:24 -07:00
2026-05-19 15:05:46 +09:00
2026-05-24 18:41:06 +09:00
2026-05-14 19:56:34 +09:00
2026-05-19 19:36:24 +09:00
2026-03-18 12:52:29 -07:00
2025-04-15 08:24:35 -07:00
2026-05-31 10:00:38 +09:00
2026-05-19 19:36:24 +09:00
2025-07-23 08:15:22 -07:00
2026-02-20 08:13:58 -08:00
2026-05-19 19:36:24 +09:00
2025-07-23 08:15:22 -07:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2025-09-29 11:40:35 -07:00
2026-05-19 19:36:25 +09:00
2025-07-23 08:15:18 -07:00
2025-10-22 10:40:11 -07:00
2026-01-15 05:32:31 -08:00
2026-04-29 21:46:03 +09:00
2026-03-26 12:47:17 -07:00
2025-10-16 14:42:39 -07:00
2025-07-23 08:15:20 -07:00
2026-01-12 11:56:56 -08:00
2025-07-23 08:15:22 -07:00
2026-05-19 19:36:24 +09:00
2025-04-15 08:24:35 -07:00
2025-07-23 08:15:18 -07:00
2026-05-19 19:36:24 +09:00
2026-02-13 13:39:25 -08:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2026-03-26 12:42:57 -07:00
2026-06-04 09:39:28 +02:00
2026-05-19 15:05:46 +09:00
2026-05-27 14:15:45 +09:00
2025-08-11 09:19:40 -07:00
2025-08-22 13:13:20 -07:00
2026-03-03 10:20:00 -08:00
2026-04-08 10:19:17 -07:00
2026-04-15 08:44:34 -07:00
2026-05-08 09:53:12 +09:00
2026-05-27 14:15:46 +09:00
2026-05-19 19:36:25 +09:00
2026-05-19 19:36:24 +09:00
2026-04-27 22:20:57 +09:00
2026-04-10 07:58:55 -07:00
2026-06-04 09:39:27 +02:00
2026-05-19 19:36:25 +09:00
2026-03-27 11:00:02 -07:00
2026-02-13 13:39:25 -08:00
2026-05-15 04:24:54 +09:00
2026-05-19 19:36:24 +09:00
2025-11-04 07:32:25 -08:00
2026-01-09 18:36:18 -08:00
2026-05-12 09:33:43 +09:00
2026-05-19 19:36:25 +09:00
2026-02-06 11:45:33 -08:00
2025-08-08 11:13:12 -07:00
2026-02-13 13:39:25 -08:00
2026-05-27 14:15:44 +09:00
2026-03-23 08:33:10 -07:00
2026-03-12 10:03:23 -07:00
2026-05-20 11:31:13 +09:00
2026-05-19 19:36:24 +09:00
2026-05-19 09:57:44 +09:00
2025-08-21 13:47:00 -07:00
2026-06-04 09:39:27 +02:00
2026-02-21 21:26:53 -08:00
2025-09-19 10:02:55 -07:00
2026-01-09 06:07:21 -08:00
2025-08-05 11:53:55 -07:00
2026-05-20 11:33:24 +09:00
2026-02-26 07:22:53 -08:00
2025-10-14 12:56:09 -07:00
2026-05-19 19:36:24 +09:00
2026-03-24 12:26:58 -07:00
2026-05-27 14:15:46 +09:00
2025-10-15 10:29:28 -07:00
2026-03-23 08:33:10 -07:00
2026-03-31 20:43:14 -07:00
2026-05-20 11:31:14 +09:00
2025-11-04 07:32:24 -08:00
2026-04-01 21:34:25 -07:00
2026-03-25 10:35:27 -07:00
2025-07-23 08:15:18 -07:00
2026-05-19 19:36:24 +09:00
2026-04-06 12:02:30 -07:00
2026-05-31 10:00:37 +09:00
2025-09-18 10:07:00 -07:00
2026-05-19 19:36:24 +09:00
2026-05-19 15:05:46 +09:00
2026-02-20 08:13:58 -08:00
2026-01-15 05:32:31 -08:00
2026-01-30 08:58:12 -08:00
2026-03-31 20:43:14 -07:00
2026-05-19 19:36:24 +09:00
2026-04-29 21:46:02 +09:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2025-07-23 08:15:22 -07:00
2026-03-24 12:31:31 -07:00
2025-07-23 08:15:22 -07:00
2026-06-04 09:39:27 +02:00
2026-05-27 14:15:46 +09:00
2026-05-05 16:34:08 +09:00
2025-07-23 08:15:22 -07:00
2026-05-19 19:36:24 +09:00
2026-05-19 19:36:24 +09:00
2026-05-06 09:48:28 +09:00
2025-08-21 13:46:59 -07:00
2025-07-23 08:15:22 -07:00
2025-07-23 08:15:22 -07:00
2025-12-29 22:02:53 +09:00
2026-04-10 07:58:53 -07:00
2025-07-23 08:15:22 -07:00