🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #15170

Bug in LSC Unix Simulation

#15170
From: anson
Date: Fri, 20 Mar 1987 19:38
8 lines
949 bytes
I recently discovered a slightly bothersome bug in LightSpeed C's time()
function.  The manual says it returns the time in seconds since the
beginning of 1970, just like Unix does.  Great!  But it really returns the
time in seconds since the beginning of 1904, just like the Mac does.  This
could cause portability problems for programs intended for Unix, or coming
from Unix.  (Which is how I found out!)

Ed
Technical Details
Message-ID: <707@elrond.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!uwvax!husc6!panda!genrad!decvax!savax!elrond!anson

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!uwvax!husc6!panda!genrad!decvax!savax!elrond!anson
From: anson@elrond.UUCP
Newsgroups: comp.sys.mac
Subject: Bug in LSC Unix Simulation
Message-ID: <707@elrond.UUCP>
Date: Fri, 20-Mar-87 14:38:16 EST
Article-I.D.: elrond.707
Posted: Fri Mar 20 14:38:16 1987
Date-Received: Sun, 22-Mar-87 14:48:27 EST
Organization: Calcomp Display Products Division, Hudson, NH, USA
Lines: 8
Keywords: LightSpeed C, Time, Bug