[Coco] OS-9 C was Re: 3rdPart Editor

Stephen Fischer SFischer1 at Mindspring.com
Tue Dec 18 13:04:09 EST 2018



On 12/17/2018 10:09 PM, Gene Heskett wrote:
> On Monday 17 December 2018 23:48:24 Stephen Fischer wrote:
> 
>> The files.c I have has 266 lines, 7 kb.
>>
>> -------------------------------------------------------------------
>> 241.	               if ((suff == (char *)0 ) && (rules)) { /* Is this
>> an exec? */
>> 242.	                       mode = 4;
>> 243.	                       strcpy(fullname,object_dir);
>> 244.	                       if (strlen(object_dir) != 0)
>> 245.	                               strcat(fullname,"/");
>> 246.	               } else if ((strcmp(suff,".r")==0) && (rules)) {
>> /*Is it .r ?*/
>> 247.	                       strcpy(fullname,rel_dir);
>> 248.	                       if (strlen(rel_dir) != 0)
>> 249.	                               strcat(fullname,"/");
>> 250.	               }
>> 251.	               strcat(fullname,np->n_name);
>> 252.
>> 253.	               if (debug)
>> 254.	                   printf("Touching %s with mode
>> %d.\n",fullname,mode); 255.
>> 256.	               if ((fd = open(fullname, S_IWRITE | mode )) < 0) {
>> 257.	                       printf("%s: '%s' not touched -
>> non-existent.\n", 258.	                                       myname,
>> fullname); 259.	               }
>> 260.	               close(fd);
>> 261.	#endif
>> 262.	       }
>> 263.	}
>> 264.
>> 265.
>> 266.
>> -------------------------------------------------------------------
>>
>>    It has been 7-8 years since I looked at any C code so I cannot tell
>> if it is truncated.
>>
> Doesn't look to be, so I have copy/pasted this to the end of my existing
> file.
>> SHF
>>

> That file is nominally 16 lines longer than any of mine and looks
> complete, all functions properly closed. All of mine are truncated at
> the end of line 249.
> 
> 
> If I was you, I'd submit that as a completed file to replace the
> obviously truncated one in toolshed/c3/make in the toolshed repo. But
> I've not heard a peep from Tormod Volden in a while, is he still
> watching over this stuff?  Or who is?

Sorry, I have no interest in toolshed at all.

Guillaume Major now has a copy of the complete set of files for the 
C-Chain that we collected in 2011. He likely will put them up on the

http://www.colorcomputerarchive.com/

soon.

I noted that Bill is toting old versions of the C-Compiler, you may want 
to correct him telling him about our work that Willard Goosey researched.

SHF




More information about the Coco mailing list