diff options
author | Russell Belfer <arrbee@arrbee.com> | 2012-03-14 17:36:15 -0700 |
---|---|---|
committer | Russell Belfer <arrbee@arrbee.com> | 2012-03-14 17:36:15 -0700 |
commit | deafee7bd7a9e2efcdff90627b6094d8c1519319 (patch) | |
tree | 4b11910d7d315a6db667cc4af4c6749630612ed3 /src/posix.c | |
parent | ab43ad2fd822504446e7876d6352c968a74beb53 (diff) | |
download | libgit2-deafee7bd7a9e2efcdff90627b6094d8c1519319.tar.gz |
Continue error conversion
This converts blob.c, fileops.c, and all of the win32 files.
Also, various minor cleanups throughout the code. Plus, in
testing the win32 build, I cleaned up a bunch (although not
all) of the warnings with the 64-bit build.
Diffstat (limited to 'src/posix.c')
-rw-r--r-- | src/posix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/posix.c b/src/posix.c index 9d96d3013..977880999 100644 --- a/src/posix.c +++ b/src/posix.c @@ -34,9 +34,9 @@ int p_getcwd(char *buffer_out, size_t size) return -1; git_path_mkposix(buffer_out); - git_path_string_to_dir(buffer_out, size); //Ensure the path ends with a trailing slash + git_path_string_to_dir(buffer_out, size); /* append trailing slash */ - return GIT_SUCCESS; + return 0; } int p_rename(const char *from, const char *to) |