From d4096f5c5eb4182afebc6d20c83afc2113bdfd1e Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Fri, 28 Jan 2000 21:15:30 +0000 Subject: [PATCH] removed error checking of localtime_r() because wrs does not implement what is in the posix standard. --- src/libCom/osi/osiTime.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libCom/osi/osiTime.cpp b/src/libCom/osi/osiTime.cpp index 43f1ab03e..b2de59eb5 100644 --- a/src/libCom/osi/osiTime.cpp +++ b/src/libCom/osi/osiTime.cpp @@ -231,10 +231,10 @@ osiTime::operator tm_nano_sec () const // // reentrant version of localtime() - from POSIX RT // - // ???? WRS prototype is incorrect ???? + // WRS returns int and others return &tm.ansi_tm on + // succes? // - p = localtime_r (&ansiTimeTicks.ts, &tm.ansi_tm); - assert (p == &tm.ansi_tm); + localtime_r (&ansiTimeTicks.ts, &tm.ansi_tm); tm.nSec = this->nSec;