[Fedora-directory-commits] ldapserver/ldap/servers/slapd log.c, 1.8, 1.9 log.h, 1.5, 1.6

Noriko Hosoi (nhosoi) fedora-directory-commits at redhat.com
Sun Dec 4 01:54:46 UTC 2005


Author: nhosoi

Update of /cvs/dirsec/ldapserver/ldap/servers/slapd
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24199

Modified Files:
	log.c log.h 
Log Message:
Fixed the solaris build (log.h); fixed an inappropriate comment



Index: log.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/log.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- log.c	3 Dec 2005 01:45:34 -0000	1.8
+++ log.c	4 Dec 2005 01:54:37 -0000	1.9
@@ -2491,7 +2491,7 @@
 		loginfo.log_audit_logchain = NULL;
 		break;
 	}
-	/* read the directory entries into an ascii sorted avl tree */
+	/* read the directory entries into a linked list */
 	for (dirent = PR_ReadDir(dirptr, dirflags); dirent ;
 		dirent = PR_ReadDir(dirptr, dirflags)) {
 		if (0 == strcmp(log_type, dirent->name)) {


Index: log.h
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/log.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- log.h	3 Dec 2005 01:45:34 -0000	1.5
+++ log.h	4 Dec 2005 01:54:37 -0000	1.6
@@ -43,8 +43,10 @@
  *
  *************************************************************************/
 #include <stdio.h>
+#ifdef LINUX
 #define _XOPEN_SOURCE /* glibc2 needs this */
 #define __USE_XOPEN
+#endif
 #include <time.h>
 #include <stdarg.h>
 #include <sys/types.h>




More information about the Fedora-directory-commits mailing list