Skip to content
Snippets Groups Projects
Commit 8bf1d472 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

More changes... but tests still fail.

parent 5b62482f
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,9 @@
#ifdef HAVE_SYSLOG_H
#include <syslog.h>
#if defined( LOG_NDELAY )
#if defined( LOG_NDELAY ) && defined( LOG_NOWAIT )
# define OPENLOG_OPTIONS ( LOG_PID | LOG_NDELAY | LOG_NOWAIT )
#elif defined( LOG_NDELAY )
# define OPENLOG_OPTIONS ( LOG_PID | LOG_NDELAY )
#elif defined( LOG_NOWAIT )
# define OPENLOG_OPTIONS ( LOG_PID | LOG_NOWAIT )
......
......@@ -195,8 +195,10 @@ entry_free( Entry *e )
Attribute *a, *next;
/* XXX check that no reader/writer locks exist */
#ifdef DEBUG
assert( !pthread_rdwr_wchk_np(&e->e_rdwr) &&
!pthread_rdwr_rchk_np(&e->e_rdwr) );
#endif
if ( e->e_dn != NULL ) {
free( e->e_dn );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment