[Fedora-directory-commits] ldapserver/ldap/servers/plugins/referint referint.c, 1.6, 1.7
Noriko Hosoi (nhosoi)
fedora-directory-commits at redhat.com
Thu Oct 18 00:08:33 UTC 2007
- Previous message (by thread): [Fedora-directory-commits] ldapserver/ldap/servers/plugins/pwdstorage md5_pwd.c, 1.2, 1.3
- Next message (by thread): [Fedora-directory-commits] ldapserver/ldap/servers/plugins/replication cl5_api.c, 1.18, 1.19 cl5_config.c, 1.7, 1.8 repl5_connection.c, 1.7, 1.8 repl5_inc_protocol.c, 1.10, 1.11 repl5_plugins.c, 1.8, 1.9 repl5_replica.c, 1.14, 1.15 repl5_total.c, 1.9, 1.10 repl_controls.c, 1.8, 1.9 repl_extop.c, 1.11, 1.12 repl_monitor.c, 1.6, 1.7 replutil.c, 1.10, 1.11 windows_connection.c, 1.17, 1.18 windows_inc_protocol.c, 1.14, 1.15 windows_private.c, 1.16, 1.17 windows_protocol_util.c, 1.36, 1.37 windows_tot_protocol.c, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: nhosoi
Update of /cvs/dirsec/ldapserver/ldap/servers/plugins/referint
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25950/ldap/servers/plugins/referint
Modified Files:
referint.c
Log Message:
Resolves: #188320
Summary: HP-UX: warnings reported by the HP-UX compiler
Index: referint.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/plugins/referint/referint.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- referint.c 10 Nov 2006 23:45:11 -0000 1.6
+++ referint.c 18 Oct 2007 00:08:31 -0000 1.7
@@ -537,19 +537,20 @@
keeprunning_cv = PR_NewCondVar(keeprunning_mutex);
keeprunning =1;
- if (( referint_tid = PR_CreateThread (PR_USER_THREAD,
+ referint_tid = PR_CreateThread (PR_USER_THREAD,
referint_thread_func,
(void *)argv,
PR_PRIORITY_NORMAL,
PR_GLOBAL_THREAD,
PR_UNJOINABLE_THREAD,
- SLAPD_DEFAULT_THREAD_STACKSIZE)) == NULL ) {
+ SLAPD_DEFAULT_THREAD_STACKSIZE);
+ if ( referint_tid == NULL ) {
slapi_log_error( SLAPI_LOG_FATAL, REFERINT_PLUGIN_SUBSYSTEM,
"referint_postop_start PR_CreateThread failed\n" );
exit( 1 );
- }
+ }
}
- } else {
+ } else {
slapi_log_error( SLAPI_LOG_FATAL, REFERINT_PLUGIN_SUBSYSTEM,
"referint_postop_start insufficient arguments supplied\n" );
return( -1 );
@@ -818,11 +819,10 @@
" line length exceeded. It will not be able"
" to update references to this entry.\n");
}else{
- PRInt32 rv;
PR_snprintf(buffer, MAX_LINE, "%s\t%s\t\n",
dn,
(newrdn != NULL) ? newrdn : "NULL");
- if ((rv = PR_Write(prfd,buffer,strlen(buffer))) < 0){
+ if (PR_Write(prfd,buffer,strlen(buffer)) < 0){
slapi_log_error(SLAPI_LOG_FATAL,REFERINT_PLUGIN_SUBSYSTEM,
" writeintegritylog: PR_Write failed : The disk"
" may be full or the file is unwritable :: NSPR error - %d\n",
- Previous message (by thread): [Fedora-directory-commits] ldapserver/ldap/servers/plugins/pwdstorage md5_pwd.c, 1.2, 1.3
- Next message (by thread): [Fedora-directory-commits] ldapserver/ldap/servers/plugins/replication cl5_api.c, 1.18, 1.19 cl5_config.c, 1.7, 1.8 repl5_connection.c, 1.7, 1.8 repl5_inc_protocol.c, 1.10, 1.11 repl5_plugins.c, 1.8, 1.9 repl5_replica.c, 1.14, 1.15 repl5_total.c, 1.9, 1.10 repl_controls.c, 1.8, 1.9 repl_extop.c, 1.11, 1.12 repl_monitor.c, 1.6, 1.7 replutil.c, 1.10, 1.11 windows_connection.c, 1.17, 1.18 windows_inc_protocol.c, 1.14, 1.15 windows_private.c, 1.16, 1.17 windows_protocol_util.c, 1.36, 1.37 windows_tot_protocol.c, 1.11, 1.12
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-directory-commits
mailing list