Refactor mktime, timegm and fix wcpncpy test
All threads resolved!
All threads resolved!
Compare changes
- Peter Limkilde Svendsen authored
+ 57
− 47
@@ -12,6 +12,10 @@ pub use self::constants::*;
@@ -12,6 +12,10 @@ pub use self::constants::*;
@@ -311,9 +315,6 @@ pub unsafe extern "C" fn gmtime_r(clock: *const time_t, result: *mut tm) -> *mut
@@ -311,9 +315,6 @@ pub unsafe extern "C" fn gmtime_r(clock: *const time_t, result: *mut tm) -> *mut
@@ -414,44 +415,66 @@ pub unsafe extern "C" fn localtime_r(clock: *const time_t, t: *mut tm) -> *mut t
@@ -414,44 +415,66 @@ pub unsafe extern "C" fn localtime_r(clock: *const time_t, t: *mut tm) -> *mut t
@@ -502,20 +525,7 @@ pub unsafe extern "C" fn timelocal(tm: *mut tm) -> time_t {
@@ -502,20 +525,7 @@ pub unsafe extern "C" fn timelocal(tm: *mut tm) -> time_t {