git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Change xwrite() to write_in_full() in builtins.
@ 2024-02-27 15:09 Randall S. Becker
  2024-02-27 15:09 ` [PATCH v2 1/3] builtin/repack.c: change xwrite to write_in_full and report errors Randall S. Becker
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Randall S. Becker @ 2024-02-27 15:09 UTC (permalink / raw)
  To: git; +Cc: Randall S. Becker

From: "Randall S. Becker" <rsbecker@nexbridge.com>

This series replaces xwrite to write_in_full in builtins/. The change is
required to fix critical problems that prevent full writes to be
processed by on platforms where xwrite may be limited to a platform size
limit. Further changes outside of builtins/ may be required but do not
appear to be as urgent as this change, which causes test breakage in
t7704. A separate series will be contributed for changes outside of
builtins/ at a later date.

The change in unpack-objects.c is necessary as len is being passed into
xwrite that exceeds the size supported by the limit in that method
(56Kb on NonStop ia64). 

Randall S. Becker (3):
  builtin/repack.c: change xwrite to write_in_full and report errors.
  builtin/receive-pack.c: change xwrite to write_in_full.
  builtin/unpack-objects.c: change xwrite to write_in_full avoid
    truncation.

 builtin/receive-pack.c   | 2 +-
 builtin/repack.c         | 9 +++++++--
 builtin/unpack-objects.c | 2 +-
 3 files changed, 9 insertions(+), 4 deletions(-)

-- 
2.42.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-03-07 10:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-27 15:09 [PATCH v2 0/2] Change xwrite() to write_in_full() in builtins Randall S. Becker
2024-02-27 15:09 ` [PATCH v2 1/3] builtin/repack.c: change xwrite to write_in_full and report errors Randall S. Becker
2024-02-27 18:49   ` Junio C Hamano
2024-02-27 15:09 ` [PATCH v2 2/3] builtin/receive-pack.c: change xwrite to write_in_full Randall S. Becker
2024-02-27 19:00   ` Junio C Hamano
2024-02-27 15:09 ` [PATCH v2 3/3] builtin/unpack-objects.c: change xwrite to write_in_full avoid truncation Randall S. Becker
2024-02-27 18:58   ` Junio C Hamano
2024-02-27 19:04     ` rsbecker
2024-02-27 19:25       ` Jeff King
2024-02-27 21:05         ` rsbecker
2024-03-07 10:00           ` Jeff King
2024-02-27 21:11 ` [PATCH v2 0/2] Change xwrite() to write_in_full() in builtins rsbecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).