Deleted Added
full compact
pwcache.c (241233) pwcache.c (241731)
1/* $NetBSD: pwcache.c,v 1.31 2010/03/23 20:28:59 drochner Exp $ */
2
3/*-
4 * Copyright (c) 1992 Keith Muller.
5 * Copyright (c) 1992, 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * This code is derived from software contributed to Berkeley by

--- 63 unchanged lines hidden (view full) ---

72#include <sys/cdefs.h>
73#if defined(LIBC_SCCS) && !defined(lint)
74#if 0
75static char sccsid[] = "@(#)cache.c 8.1 (Berkeley) 5/31/93";
76#else
77__RCSID("$NetBSD: pwcache.c,v 1.31 2010/03/23 20:28:59 drochner Exp $");
78#endif
79#endif /* LIBC_SCCS and not lint */
1/* $NetBSD: pwcache.c,v 1.31 2010/03/23 20:28:59 drochner Exp $ */
2
3/*-
4 * Copyright (c) 1992 Keith Muller.
5 * Copyright (c) 1992, 1993
6 * The Regents of the University of California. All rights reserved.
7 *
8 * This code is derived from software contributed to Berkeley by

--- 63 unchanged lines hidden (view full) ---

72#include <sys/cdefs.h>
73#if defined(LIBC_SCCS) && !defined(lint)
74#if 0
75static char sccsid[] = "@(#)cache.c 8.1 (Berkeley) 5/31/93";
76#else
77__RCSID("$NetBSD: pwcache.c,v 1.31 2010/03/23 20:28:59 drochner Exp $");
78#endif
79#endif /* LIBC_SCCS and not lint */
80__FBSDID("$FreeBSD: head/contrib/libc-pwcache/pwcache.c 241731 2012-10-19 12:44:22Z brooks $");
80
81#include "namespace.h"
82
83#include <sys/types.h>
84#include <sys/param.h>
85
86#include <assert.h>
87#include <grp.h>
88#include <pwd.h>
89#include <stdio.h>
90#include <stdlib.h>
91#include <string.h>
92#include <unistd.h>
93
81
82#include "namespace.h"
83
84#include <sys/types.h>
85#include <sys/param.h>
86
87#include <assert.h>
88#include <grp.h>
89#include <pwd.h>
90#include <stdio.h>
91#include <stdlib.h>
92#include <string.h>
93#include <unistd.h>
94
95#define _DIAGASSERT(x) assert((x))
96
94#if HAVE_NBTOOL_CONFIG_H
95/* XXX Now, re-apply the renaming that we undid above. */
96#define group_from_gid __nbcompat_group_from_gid
97#define user_from_uid __nbcompat_user_from_uid
98#endif
99
100#ifdef __weak_alias
101__weak_alias(user_from_uid,_user_from_uid)

--- 542 unchanged lines hidden ---
97#if HAVE_NBTOOL_CONFIG_H
98/* XXX Now, re-apply the renaming that we undid above. */
99#define group_from_gid __nbcompat_group_from_gid
100#define user_from_uid __nbcompat_user_from_uid
101#endif
102
103#ifdef __weak_alias
104__weak_alias(user_from_uid,_user_from_uid)

--- 542 unchanged lines hidden ---