PERFORCE change 110299 for review

Michael Bushkov bushman at FreeBSD.org
Tue Nov 21 17:25:08 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=110299

Change 110299 by bushman at bushman_nss_ldap_cached on 2006/11/20 14:17:21

	Forgot to include it into pre-previous commit and commited empty
	changes set during previous commit. Now everything should be right.

Affected files ...

.. //depot/projects/soc2006/nss_ldap_cached/src/usr.sbin/cached/parser.c#9 edit

Differences ...

==== //depot/projects/soc2006/nss_ldap_cached/src/usr.sbin/cached/parser.c#9 (text) ====

@@ -149,8 +149,12 @@
 	
 	TRACE_IN(set_check_files);
 	entry = find_create_entry(config, entry_name);
-//	if (entry != NULL)
-//		entry->check_files = flag;
+	if (entry != NULL) {
+		if (flag != 0)
+			entry->flags |= CONFIG_ENTRY_CHECK_FOR_CHANGES_FLAG;			
+		else
+			entry->flags &= ~CONFIG_ENTRY_CHECK_FOR_CHANGES_FLAG;
+	}
 	TRACE_OUT(set_check_files);
 }
 


More information about the p4-projects mailing list