Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!decvax!ittatc!dcdwest!sdcsvax!ncr-sd!hp-sdd!hplabs!qantel!lll-lcc!lll-crg!seismo!gatech!cbosgd!db From: db@cbosgd.UUCP (Deceased Bird) Newsgroups: net.micro.mac Subject: Aztec 1.06H.1 disk & nested func calls Message-ID: <2256@cbosgd.UUCP> Date: Fri, 27-Jun-86 18:53:22 EDT Article-I.D.: cbosgd.2256 Posted: Fri Jun 27 18:53:22 1986 Date-Received: Sun, 29-Jun-86 04:10:32 EDT Reply-To: db@cbosgd.UUCP (Deceased Bird) Distribution: na Organization: The Pet Shoppe, EC1 Lines: 33 Keywords: update,function calls,fjords I got my Aztec C 1.06H.1 update disk the other day and installed it. I don't know to what extent calling the update number expedited delivery, but I got the disk within about 5 days of my call. Note that it is not a bootable disk (which it explains in the README file, which you could cat if the disk was bootable :-)). The System file is version 3.1.1 and the SHELL has a date of (I believe) 6/4/86. So far, no major problems. I discovered that the trouble I'd been having with my application (an 8085 diasassembler, don't ask {okay, ask!}) was not due to some inherent problem in the SHELL or System (though it might be a compiler bug) but rather to nested calls to the new time functions provided with 1.06H. I was doing a call like: strcpy(s, ctime(time((time_t)NULL))); which apparently doesn't work right most of the time (I got address errors when it died). Breaking the function calls apart, as in: time(&foo); bar = ctime(&foo); strcpy(s, bar); (where foo, bar, s, etc. all have the appropriate definitions) seems to have fixed the problem. Note that in the nested version, I had everything declared with the proper pointer types, etc., so I don't think it was a case of the old A-to-D register switcheroo. Despite the initial problem getting them to work, having the UNIX time functions is very handy (thanks, Manx!). BTW: Does anybody know if Manx expects us to return the H.1 update disk? There wasn't any reminder to that effect in the package. Dave Bursik/..cbosgd!db