time patch

Jonathan Wolfe <[email protected]> Fri, 5 Nov 2004 11:05:54 -0500
Newsgroups gmane.comp.gnu.ccscript.devel
Message-ID <[email protected]>
I believe I have a patch for the adjtime function in time.cpp that 
correctly handles wrap around into the past across a day border:

--- time.cpp    2004-11-05 09:33:37.000000000 -0500
+++ time.cpp    2004-11-05 09:34:01.000000000 -0500
@@ -97,13 +97,13 @@
         dh %= 24;

         if(dh < 0)
-               dh = -dh;
+               dh += 24;

         if(dm < 0)
-               dm = -dm;
+               dm += 60;

         if(ds < 0)
-               ds = -ds;
+               ds += 60;

         if(size < 5)
                 return;

Also, can I be subscribed to the list?

Thanks,
-Jon