add patch to lib/isc/unix/time.c; from the bind9-users mailing-list

This commit is contained in:
jakob 2000-10-06 23:47:48 +00:00
parent 845d2eebdc
commit f456120e1a

View 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;
}