1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-10-30 05:47:53 +01:00
git/compat
Peter Eriksen 817151e61a Rename safe_strncpy() to strlcpy().
This cleans up the use of safe_strncpy() even more.  Since it has the
same semantics as strlcpy() use this name instead.  Also move the
definition from inside path.c to its own file compat/strlcpy.c, and use
it conditionally at compile time, since some platforms already has
strlcpy().  It's included in the same way as compat/setenv.c.

Signed-off-by: Peter Eriksen <s022018@student.dtu.dk>
Signed-off-by: Junio C Hamano <junkio@cox.net>
2006-06-24 23:16:25 -07:00
..
inet_ntop.c NO_INET_NTOP and compat/inet_ntop.c for some systems (e.g. old Cygwin). 2006-05-21 16:44:36 -07:00
mmap.c Clean up compatibility definitions. 2005-12-05 15:50:29 -08:00
setenv.c compat/setenv: do not free what we fed putenv(3). 2005-12-04 14:41:35 -08:00
strcasestr.c Clean up compatibility definitions. 2005-12-05 15:50:29 -08:00
strlcpy.c Rename safe_strncpy() to strlcpy(). 2006-06-24 23:16:25 -07:00
subprocess.py Further clarify licensing status of compat/subprocess.py. 2005-09-23 18:43:53 -07:00
unsetenv.c Add compat/unsetenv.c . 2006-01-25 15:10:39 -08:00