Revert "compat/clipped-write.c: large write(2) fails on Mac OS X/XNU"
This reverts commit 6c642a8786
.
The previous commit introduced a size limit on IO chunks on all
platforms. The compat clipped_write() is not needed anymore.
Signed-off-by: Steffen Prohaska <prohaska@zib.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
0b6806b9e4
commit
a487916dd5
@ -185,11 +185,6 @@ typedef unsigned long uintptr_t;
|
||||
#define probe_utf8_pathname_composition(a,b)
|
||||
#endif
|
||||
|
||||
#ifdef NEEDS_CLIPPED_WRITE
|
||||
ssize_t clipped_write(int fildes, const void *buf, size_t nbyte);
|
||||
#define write(x,y,z) clipped_write((x),(y),(z))
|
||||
#endif
|
||||
|
||||
#ifdef MKDIR_WO_TRAILING_SLASH
|
||||
#define mkdir(a,b) compat_mkdir_wo_trailing_slash((a),(b))
|
||||
extern int compat_mkdir_wo_trailing_slash(const char*, mode_t);
|
||||
|
Reference in New Issue
Block a user