🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.micro.mac
Article #6348

Re: Aztec 1.06H.1 disk & nested func calls

#6348
From: Deceased Bird
Date: Wed, 09 Jul 1986 02:11
18 lines
1190 bytes
g/compiler bug/s//programmer error/g

In article <347@aecom.UUCP> naftoli@aecom.UUCP (Robert N. Berlinger) writes:
>> I was doing a call like:
>> 
>> strcpy(s, ctime(time((time_t)NULL)));
>> [/etc, /etc]
>>
>
>These are not equivalent!  "time((time_t)NULL)" does not return a 
>pointer, it returns a time_t.  Ctime, however, does expect a 
>pointer, which you properly passed in your second version.  There 
>is no way to nest them, in this case.  

I sit corrected.  Thanks for pointing this out!
(Send me e-mail to collect your prize! {Hurry, supplies are limited!})

Dave Bursik/..cbosgd!db
Technical Details
Message-ID: <2273@cbosgd.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!cbosgd!db
References: <2256@cbosgd.UUCP> <347@aecom.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbatt!cbosgd!db
From: db@cbosgd.UUCP (Deceased Bird)
Newsgroups: net.micro.mac
Subject: Re: Aztec 1.06H.1 disk & nested func calls
Message-ID: <2273@cbosgd.UUCP>
Date: Tue, 8-Jul-86 22:11:17 EDT
Article-I.D.: cbosgd.2273
Posted: Tue Jul  8 22:11:17 1986
Date-Received: Thu, 10-Jul-86 04:45:50 EDT
References: <2256@cbosgd.UUCP> <347@aecom.UUCP>
Reply-To: db@cbosgd.UUCP (Deceased Bird)
Distribution: na
Organization: The Pet Shoppe, EC1
Lines: 18
Keywords: Can you spell "fubar"?