Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2007 08:54:18 GMT
From:      Michael Bushkov <bushman@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 113815 for review
Message-ID:  <200702010854.l118sIws039841@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=113815

Change 113815 by bushman@bushman_nss_ldap_cached on 2007/02/01 08:54:03

	- some cosmetic fixes with namespace.h/un-namespace.h
	(currently all nss modules use pthread functions with
	underscore in the beginning (_pthread_getspecific),
	because most of thread-issues handling is done via
	nss_tls.h macro definitions, which assume such names;
	this is done to use standard nss_tls.h and to change
	modules' code as little as possible to make patching
	easier; later, when the code is committed, nss-modules
	should be cleaned up completely from libc-specific
	functions)

Affected files ...

.. //depot/projects/soc2006/nss_ldap_cached/src/lib/nss_compat/compat_group.c#7 edit
.. //depot/projects/soc2006/nss_ldap_cached/src/lib/nss_compat/compat_serv.c#5 edit
.. //depot/projects/soc2006/nss_ldap_cached/src/lib/nss_dns/dns_passwd.c#5 edit
.. //depot/projects/soc2006/nss_ldap_cached/src/lib/nss_nis/nis_hosts_addrinfo.c#4 edit

Differences ...

==== //depot/projects/soc2006/nss_ldap_cached/src/lib/nss_compat/compat_group.c#7 (text+ko) ====

@@ -39,14 +39,15 @@
 #include <errno.h>
 #include <grp.h>
 #include <nsswitch.h>
+#include "namespace.h"
 #include <pthread.h>
 #include <pthread_np.h>
+#include "un-namespace.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <syslog.h>
 #include <unistd.h>
-#include "libc_private.h"
 #include "nss_tls.h"
 #include "gr_scan.h"
 #include "nss_compat.h"

==== //depot/projects/soc2006/nss_ldap_cached/src/lib/nss_compat/compat_serv.c#5 (text+ko) ====


==== //depot/projects/soc2006/nss_ldap_cached/src/lib/nss_dns/dns_passwd.c#5 (text+ko) ====

@@ -54,7 +54,6 @@
 #include <syslog.h>
 #include <unistd.h>
 #include <db.h>
-#include "libc_private.h"
 #include "nss_tls.h"
 #include "pw_scan.h"
 

==== //depot/projects/soc2006/nss_ldap_cached/src/lib/nss_nis/nis_hosts_addrinfo.c#4 (text+ko) ====

@@ -90,7 +90,6 @@
 #include <errno.h>
 #include <nsswitch.h>
 #include <stdarg.h>
-#include "libc_private.h"
 #include "res_config.h"
 
 #ifdef DEBUG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702010854.l118sIws039841>