apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: apr/time/unix time.c
Date Thu, 28 Jun 2001 01:32:39 GMT
brane       01/06/27 18:32:39

  Modified:    time/unix time.c
  Log:
  apr_explode_localtime was not setting result's tm_usec field.
  
  Revision  Changes    Path
  1.44      +1 -0      apr/time/unix/time.c
  
  Index: time.c
  ===================================================================
  RCS file: /home/cvs/apr/time/unix/time.c,v
  retrieving revision 1.43
  retrieving revision 1.44
  diff -u -r1.43 -r1.44
  --- time.c	2001/06/22 17:53:49	1.43
  +++ time.c	2001/06/28 01:32:37	1.44
  @@ -163,6 +163,7 @@
       mangotm = *localtime(&mango);
   #endif
       tm_to_exp(result, &mangotm, &mango);
  +    result->tm_usec = input % APR_USEC_PER_SEC;
       return APR_SUCCESS;
   #endif /* __EMX__ */
   }
  
  
  

Mime
View raw message