]> git.proxmox.com Git - libgit2.git/commit - src/win32/posix_w32.c
Fix p_inet_pton on windows
authorEdward Thomson <ethomson@microsoft.com>
Fri, 16 Aug 2013 18:31:24 +0000 (13:31 -0500)
committerEdward Thomson <ethomson@microsoft.com>
Mon, 19 Aug 2013 22:21:35 +0000 (17:21 -0500)
commit238b761491bee6b03f95fca9037b8dff8cced7e7
tree9f6ee45fc3286c8c5e9f66fce9d57c2c012f7a42
parent25b2a555380a7b3066f3578c283a8f4d1d5dad12
Fix p_inet_pton on windows

p_inet_pton on Windows should set errno properly for callers.
Rewrite p_inet_pton to handle error cases correctly and add
test cases to exercise this function.
src/win32/posix.h
src/win32/posix_w32.c
tests-clar/core/posix.c [new file with mode: 0644]