summaryrefslogtreecommitdiffstats
path: root/src/dfxml.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-06-17 07:58:39 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2011-06-17 07:58:39 +0200
commitf8f80c47d37262dcd10c12e526860540cde728c4 (patch)
tree4f08893a5818ed6f9722600d9ea06726bed48d69 /src/dfxml.c
parent11bb8270c256eb874096a3a08c60cc8ef0399274 (diff)
getpwuid() isn't static binary friendly, avoid this function
Diffstat (limited to 'src/dfxml.c')
-rw-r--r--src/dfxml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dfxml.c b/src/dfxml.c
index 78b08a9..b35908f 100644
--- a/src/dfxml.c
+++ b/src/dfxml.c
@@ -209,6 +209,7 @@ void xml_add_DFXML_creator(const char *package, const char *version)
#endif
#ifdef HAVE_GETEUID
xml_out2i("uid", geteuid());
+#if 0
#ifdef HAVE_GETPWUID
{
struct passwd *tmp=getpwuid(getuid());
@@ -219,6 +220,7 @@ void xml_add_DFXML_creator(const char *package, const char *version)
}
#endif
#endif
+#endif
{
char outstr[200];
time_t t;