summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/solaris2/kopensolaris-gnu
diff options
context:
space:
mode:
authorIgor Pashev <pashev.igor@gmail.com>2014-09-07 11:37:36 +0400
committerIgor Pashev <pashev.igor@gmail.com>2014-09-07 11:37:36 +0400
commitf168bc54cf29b077e470a3602d9f2f2faee89f6c (patch)
tree125852692dc5b36732bb2cb4f7155433279612e4 /sysdeps/unix/sysv/solaris2/kopensolaris-gnu
parent6205d5e6ec737b121394507b152be60e57dda8ac (diff)
downloadglibc-f168bc54cf29b077e470a3602d9f2f2faee89f6c.tar.gz
Disabled nscd for prof_attr and user_attr
nscd is to be patched
Diffstat (limited to 'sysdeps/unix/sysv/solaris2/kopensolaris-gnu')
-rw-r--r--sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getprofnam.c2
-rw-r--r--sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getusernam.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getprofnam.c b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getprofnam.c
index a9effed552..02f9dabc47 100644
--- a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getprofnam.c
+++ b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getprofnam.c
@@ -26,6 +26,8 @@
#define ADD_VARIABLES name
#define BUFLEN NSS_BUFLEN_PROFATTR
+//TODO: error: ‘__nss_not_use_nscd_prof_attr’
+#undef USE_NSCD
#include <nss/getXXbyYY_r.c>
extern int getprofnam_r (const char *, profstr_t *, char *, size_t,
diff --git a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getusernam.c b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getusernam.c
index f1ffe85f65..1a1fae1626 100644
--- a/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getusernam.c
+++ b/sysdeps/unix/sysv/solaris2/kopensolaris-gnu/_getusernam.c
@@ -26,6 +26,8 @@
#define ADD_VARIABLES name
#define BUFLEN NSS_BUFLEN_USERATTR
+// TODO: error: ‘__nss_not_use_nscd_user_attr’ undeclared
+#undef USE_NSCD
#include <nss/getXXbyYY_r.c>
extern int getusernam_r (const char *, userstr_t *, char *, size_t,