diff options
| author | Edward Thomson <ethomson@microsoft.com> | 2013-11-04 18:28:57 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@microsoft.com> | 2013-11-04 22:33:05 -0500 |
| commit | 1d3a8aeb4bd032d0bf34039fbcb308fba06b862a (patch) | |
| tree | 8e9165cfd8c4c3919abd2d4f301b1f45e281d5eb /src/fileops.h | |
| parent | f966acd13366d21e0b9beeecf021c0114596c716 (diff) | |
| download | libgit2-1d3a8aeb4bd032d0bf34039fbcb308fba06b862a.tar.gz | |
move mode_t to filebuf_open instead of _commit
Diffstat (limited to 'src/fileops.h')
| -rw-r--r-- | src/fileops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileops.h b/src/fileops.h index 1b2728e58..59a6a21a7 100644 --- a/src/fileops.h +++ b/src/fileops.h @@ -141,7 +141,7 @@ extern int git_futils_rmdir_r(const char *path, const char *base, uint32_t flags * Writes the filename into path_out. * @return On success, an open file descriptor, else an error code < 0. */ -extern int git_futils_mktmp(git_buf *path_out, const char *filename); +extern int git_futils_mktmp(git_buf *path_out, const char *filename, mode_t mode); /** * Move a file on the filesystem, create the |
