aboutsummaryrefslogtreecommitdiff
path: root/dns/powerdns/files/patch-pdns_backends_bind_bindbackend2_hh
diff options
context:
space:
mode:
Diffstat (limited to 'dns/powerdns/files/patch-pdns_backends_bind_bindbackend2_hh')
-rw-r--r--dns/powerdns/files/patch-pdns_backends_bind_bindbackend2_hh39
1 files changed, 0 insertions, 39 deletions
diff --git a/dns/powerdns/files/patch-pdns_backends_bind_bindbackend2_hh b/dns/powerdns/files/patch-pdns_backends_bind_bindbackend2_hh
deleted file mode 100644
index a35c0411fa9a..000000000000
--- a/dns/powerdns/files/patch-pdns_backends_bind_bindbackend2_hh
+++ /dev/null
@@ -1,39 +0,0 @@
---- pdns/backends/bind/bindbackend2.hh.orig Sun Sep 28 20:20:03 2003
-+++ pdns/backends/bind/bindbackend2.hh Mon Nov 17 20:54:19 2003
-@@ -58,21 +58,20 @@
-
- bool tryRLock()
- {
-- // cout<<"[trylock!] "<<(void*)d_rwlock<<"/"<<getpid()<<endl;
-- return pthread_rwlock_tryrdlock(d_rwlock)!=EBUSY;
-+ // cout<<"[trylock!] "<<d_rwlock<<"/"<<getpid()<<endl;
-+ return pthread_rwlock_tryrdlock(&d_rwlock)!=EBUSY;
- }
-
- void unlock()
- {
-- // cout<<"[unlock] "<<(void*)d_rwlock<<"/"<<getpid()<<endl;
-- pthread_rwlock_unlock(d_rwlock);
-+ // cout<<"[unlock] "<<d_rwlock<<"/"<<getpid()<<endl;
-+ pthread_rwlock_unlock(&d_rwlock);
- }
-
- void lock()
- {
-- //cout<<"[writelock!] "<<(void*)d_rwlock<<"/"<<getpid()<<endl;
--
-- pthread_rwlock_wrlock(d_rwlock);
-+ // cout<<"[writelock!] "<<d_rwlock<<"/"<<getpid()<<endl;
-+ pthread_rwlock_wrlock(&d_rwlock);
- }
-
- void setCheckInterval(time_t seconds);
-@@ -81,7 +80,7 @@
- time_t getCtime();
- time_t d_checkinterval;
- time_t d_lastcheck;
-- pthread_rwlock_t *d_rwlock;
-+ pthread_rwlock_t d_rwlock;
- };
-
-