diff options
| author | J Wyman <jeremy.wyman@microsoft.com> | 2015-05-11 10:19:25 -0700 |
|---|---|---|
| committer | J Wyman <jeremy.wyman@microsoft.com> | 2015-05-11 10:32:08 -0700 |
| commit | 7dd2253826a027c05f5562a70f21ae396ea38c6f (patch) | |
| tree | 15e800c3debb985affddeb7f9652a371559016ed /src/filebuf.c | |
| parent | 9cdd657887d5fc7cf5a5819e60900d67513ca1ff (diff) | |
| download | libgit2-7dd2253826a027c05f5562a70f21ae396ea38c6f.tar.gz | |
centralizing all IO buffer size values
Diffstat (limited to 'src/filebuf.c')
| -rw-r--r-- | src/filebuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filebuf.c b/src/filebuf.c index a35b59cf0..848ac343b 100644 --- a/src/filebuf.c +++ b/src/filebuf.c @@ -68,7 +68,7 @@ static int lock_file(git_filebuf *file, int flags, mode_t mode) if ((flags & GIT_FILEBUF_APPEND) && git_path_exists(file->path_original) == true) { git_file source; - char buffer[2048]; + char buffer[FILEIO_BUFSIZE]; ssize_t read_bytes; source = p_open(file->path_original, O_RDONLY); |
