Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 8, 2007
  1. Andy Whitcroft

    short i/o: fix calls to write to use xwrite or write_in_full

    awhitcroft authored Junio C Hamano committed
    We have a number of badly checked write() calls.  Often we are
    expecting write() to write exactly the size we requested or fail,
    this fails to handle interrupts or short writes.  Switch to using
    the new write_in_full().  Otherwise we at a minimum need to check
    for EINTR and EAGAIN, where this is appropriate use xwrite().
    Note, the changes to config handling are much larger and handled
    in the next patch in the sequence.
    Signed-off-by: Andy Whitcroft <>
    Signed-off-by: Junio C Hamano <>
Something went wrong with that request. Please try again.