diff options
| author | Martin Woodward <martin@woodwardweb.com> | 2013-08-16 19:40:58 +0100 |
|---|---|---|
| committer | Martin Woodward <martin@woodwardweb.com> | 2013-08-16 19:40:58 +0100 |
| commit | c9340df055d97ca55a3a358f7e02416671db6278 (patch) | |
| tree | ddd00c144adc81f3d3f68554e3dca0fb2fc8a846 /src/win32 | |
| parent | 442462232860d9106473fc832e37202eddb41b3e (diff) | |
| download | libgit2-c9340df055d97ca55a3a358f7e02416671db6278.tar.gz | |
Give credit to PHP for the p_readlink function in posix_w32.c
Diffstat (limited to 'src/win32')
| -rw-r--r-- | src/win32/posix_w32.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/win32/posix_w32.c b/src/win32/posix_w32.c index 9d5b8d877..57ebaa12e 100644 --- a/src/win32/posix_w32.c +++ b/src/win32/posix_w32.c @@ -160,6 +160,15 @@ int p_lstat_posixly(const char *filename, struct stat *buf) return do_lstat(filename, buf, 1); } + +/* + * Parts of the The p_readlink function are heavily inspired by the php + * readlink function in link_win32.c + * + * Copyright (c) 1999 - 2012 The PHP Group. All rights reserved. + * + * For details of the PHP license see http://www.php.net/license/3_01.txt + */ int p_readlink(const char *link, char *target, size_t target_len) { typedef DWORD (WINAPI *fpath_func)(HANDLE, LPWSTR, DWORD, DWORD); |
