add patch to lib/isc/unix/time.c; from the bind9-users mailing-list
This commit is contained in:
parent
845d2eebdc
commit
f456120e1a
11
net/bind9/patches/patch-lib_isc_unix_time.c
Normal file
11
net/bind9/patches/patch-lib_isc_unix_time.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- lib/isc/unix/time.c 2000/06/22 21:58:50 1.26
|
||||
+++ lib/isc/unix/time.c 2000/09/18 18:50:24 1.26.2.1
|
||||
@@ -257,7 +257,7 @@
|
||||
|
||||
result->seconds = t->seconds + i->seconds;
|
||||
result->nanoseconds = t->nanoseconds + i->nanoseconds;
|
||||
- if (result->nanoseconds > NS_PER_S) {
|
||||
+ if (result->nanoseconds >= NS_PER_S) {
|
||||
result->seconds++;
|
||||
result->nanoseconds -= NS_PER_S;
|
||||
}
|
Loading…
Reference in New Issue
Block a user