Revert 91528 and use a std::vector instead, fixing an abuse of std::string.
[oota-llvm.git] / lib / System / Unix / TimeValue.inc
index 1ae8c7184d5597e8abb8b09f624b2bbd35b41d9c..d8cc8f55eecc4e24913e3598b717c947f4a41b53 100644 (file)
@@ -48,7 +48,7 @@ TimeValue TimeValue::now() {
   }
 
   return TimeValue(
-    static_cast<TimeValue::SecondsType>( the_time.tv_sec ), 
+    static_cast<TimeValue::SecondsType>( the_time.tv_sec + PosixZeroTime.seconds_ ), 
     static_cast<TimeValue::NanoSecondsType>( the_time.tv_usec * 
       NANOSECONDS_PER_MICROSECOND ) );
 }