浏览代码

156273

Convert to C-style comments to avoid build breakage.
Rob Crittenden 20 年之前
父节点
当前提交
9dada1b098

+ 0 - 2
include/public/nsapi.h

@@ -153,8 +153,6 @@
 #define INVALID_WILDPAT -2              /* exp is an invalid pattern */
 #define VALID_WILDPAT   1               /* exp is a valid pattern */
 
-//#endif /* USE_REGEX */
-
 /* Define return codes from regexp_valid and shexp_valid */
 #define NON_SXP         NON_WILDPAT     /* exp is an ordinary string */
 #define INVALID_SXP     INVALID_WILDPAT /* exp is an invalid shell exp */

+ 1 - 1
ldap/servers/plugins/replication/windows_inc_protocol.c

@@ -279,7 +279,7 @@ windows_inc_run(Private_Repl_Protocol *prp)
 	PRBool use_busy_backoff_timer = PR_FALSE;
 	long pausetime = 0;
 	long busywaittime = 0;
-	// Some operations should only be done the first time STATE_START is true.
+	/* Some operations should only be done the first time STATE_START is true. */
 	static PRBool is_first_start = PR_TRUE;
  
 	PRBool run_dirsync = PR_FALSE;

+ 1 - 1
ldap/servers/slapd/back-ldbm/import-threads.c

@@ -1991,7 +1991,7 @@ dse_conf_verify_core(struct ldbminfo *li, char *src_dir, char *file_name, char *
         *bep = e;
         bep++;
     }
-    // 623986: terminate the list if we reallocated backup_entries
+    /* 623986: terminate the list if we reallocated backup_entries */
     if (backup_entry_len > 256)
        *bep = NULL;