summaryrefslogtreecommitdiff
path: root/compat/mingw.h
diff options
context:
space:
mode:
authorLibravatar Johannes Sixt <johannes.sixt@telecom.at>2007-12-01 22:09:17 +0100
committerLibravatar Johannes Sixt <johannes.sixt@telecom.at>2008-06-23 13:38:10 +0200
commitf7597acac069bbaad8887cb315a4e5420222971a (patch)
treeccdf641e80aafea570b1d3ad350a6911d73410ba /compat/mingw.h
parentWindows: Implement a wrapper of the open() function. (diff)
downloadtgif-f7597acac069bbaad8887cb315a4e5420222971a.tar.xz
Windows: A minimal implemention of getpwuid().
getpwuid() is implemented just enough that GIT does not issue errors. Since the information that it returns is not very useful, users are required to set up user.name and user.email configuration. All uses of getpwuid() are like getpwuid(getuid()), hence, the return value of getuid() is irrelevant and the uid parameter is not even looked at. Side note: getpwnam() is only used to resolve '~' and '~username' paths, which is an idiom not known on Windows, hence, we don't implement it. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Diffstat (limited to 'compat/mingw.h')
0 files changed, 0 insertions, 0 deletions