Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-09-22 21:44:30 +0400
committerVicent Marti <tanoku@gmail.com>2011-09-27 16:33:18 +0400
commit01d7fded1b233b6a8fcfeec4eaf00b7dc9cc7316 (patch)
tree7c830440f1da196e41a53f1056ee3d2dd197d352 /src/posix.c
parentea4dad8ec4388a155836b6427afd018f8432af9d (diff)
Revert "Rewrite getenv to use Win32 version on Windows"
This reverts commit e1b86444676b70154bf8ab450d429bdef57a8276.
Diffstat (limited to 'src/posix.c')
-rw-r--r--src/posix.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/posix.c b/src/posix.c
index fb8ce37cb..1b85b053d 100644
--- a/src/posix.c
+++ b/src/posix.c
@@ -39,15 +39,6 @@ int p_getcwd(char *buffer_out, size_t size)
return GIT_SUCCESS;
}
-char* p_getenv(const char* name)
-{
- char* buf = getenv(name);
- if (!buf)
- return buf;
-
- return git__strdup(buf);
-}
-
#endif
int p_read(git_file fd, void *buf, size_t cnt)