1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Mon Jul 1 12:29:50 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>

* nss/Makefile (databases): Change host to hosts.
	* nss/host-lookup.c: Renamed to nss/hosts-lookup.c.
This commit is contained in:
Roland McGrath
1996-07-01 22:16:41 +00:00
parent 7cbc698400
commit 3776d592f1
16 changed files with 127 additions and 124 deletions

View File

@ -108,7 +108,7 @@ extern char *strndup __P ((__const char *__string, size_t __n));
({ \
__const char *__old = (s); \
char *__new; \
size_t __len = strnlen (__old); \
size_t __len = strnlen (__old, (n)); \
__new = memcpy (__builtin_alloca (__len + 1), __old, __len); \
__new[__len] = '\0'; \
__new; \