about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-05-14 00:22:24 +0000
committerUlrich Drepper <drepper@redhat.com>1999-05-14 00:22:24 +0000
commitd60d215c57261eb35e540fa13c04f6dc0957c476 (patch)
tree3cb67186a7f009cce81dd34870ae016617b9e4bb /sysdeps
parentc22ecc52699cbc60f83b2a7ab49cec5992d850cd (diff)
downloadglibc-d60d215c57261eb35e540fa13c04f6dc0957c476.tar.gz
glibc-d60d215c57261eb35e540fa13c04f6dc0957c476.tar.xz
glibc-d60d215c57261eb35e540fa13c04f6dc0957c476.zip
Update.
1999-05-14  Ulrich Drepper  <drepper@cygnus.com>

	* nss/getXXbyYY.c: Add free_mem function which disposes all
	statically allocated memory when debugging.
	* nss/getXXent.c: Likewise.
	* nss/nsswitch.c: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/gnu/getutmp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/gnu/getutmp.c b/sysdeps/gnu/getutmp.c
index ab21863271..2fe53bf04b 100644
--- a/sysdeps/gnu/getutmp.c
+++ b/sysdeps/gnu/getutmp.c
@@ -19,7 +19,10 @@
 #include <assert.h>
 #include <string.h>
 #include <utmp.h>
+/* This is an ugly hack but we must not see the getutmpx declaration.  */
+#define getutmpx XXXgetutmpx
 #include <utmpx.h>
+#undef getutmpx
 
 void
 getutmp (const struct utmpx *utmpx, struct utmp *utmp)