🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #1903

rsc_gaddr() bug

#1903
From: Richard E. Covert
Date: Mon, 19 Jun 1989 15:42
26 lines
1381 bytes
	The March/April issue of "Atari Explorer" has an article by John
Jainschigg titled "An introduction to the resource files". In this article John
describes how to use the rsc_gaddr() function. John also said that you should only
attempt to locate the address of "tree" objects. To quote John:

	OBJECT *p;

	rsc_gaddr( type, index, &p);

where "type" is an integer between 0 and 16 denoting the type of object
sought (there are bugs in the function that make it useless for object
types other then trees; type 0), .....


	Anyway, is this a generic bug in GEMDOS, for all versions of TOS??
Is it a bug in the compiler that John uses?? Does Mark Williams C, 3.09, have
this bug??

	This bug reduces the usefullness of rsc_gaddr() if it does exist.
There are times were you want a child of a tree, and it is easily to get the
child's address then to get the tree's address and have to index off of it.

	oh well, what the h - eee - double toothpicks!!

richard (gtephx!covertr) covert
Technical Details
Message-ID: <43ed07d6.14a1f@gtephx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!ames!ncar!noao!asuvax!mcdphx!hrc!gtephx!covertr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!ames!ncar!noao!asuvax!mcdphx!hrc!gtephx!covertr
From: covertr@gtephx.UUCP (Richard E. Covert)
Newsgroups: comp.sys.atari.st
Subject: rsc_gaddr() bug
Keywords: c,AES,st
Message-ID: <43ed07d6.14a1f@gtephx.UUCP>
Date: 19 Jun 89 15:42:46 GMT
Organization: AG Communication Systems, Phoenix, Arizona
Lines: 26