Ignore:
Timestamp:
Jul 11, 2008, 1:13:42 AM (17 years ago)
Author:
Paul Smedley
Message:

Update branch to 3.0.31 release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/lib/time.c

    r44 r140  
    12131213        /* d is now in 100ns units, since jan 1st 1601".
    12141214           Save off the ns fraction. */
    1215        
    1216         ret.tv_nsec = (long) ((d % 100) * 100);
     1215
     1216        /*
     1217         * Take the last seven decimal digits and multiply by 100.
     1218         * to convert from 100ns units to 1ns units.
     1219         */
     1220        ret.tv_nsec = (long) ((d % (1000 * 1000 * 10)) * 100);
    12171221
    12181222        /* Convert to seconds */
Note: See TracChangeset for help on using the changeset viewer.