• Junio C Hamano's avatar
    Merge branch 'jc/max-io-size-and-ssize-max' · 81a535da
    Junio C Hamano authored
    Our default I/O size (8 MiB) for large files was too large for some
    platforms with smaller SSIZE_MAX, leading to read(2)/write(2)
    failures.
    
    * jc/max-io-size-and-ssize-max:
      xread/xwrite: clip MAX_IO_SIZE to SSIZE_MAX
    81a535da
wrapper.c 12.2 KB