Article View: comp.soft-sys.andrew
Article #1744Bug in .ch file for view
From: Bill Janssen
Date: Wed, 08 May 1991 01:46
Date: Wed, 08 May 1991 01:46
17 lines
956 bytes
956 bytes
The method view_PostResource is declared to have a last arg with
the name "data". Unfortunately, this fouls up the "class" parser,
which returns a class_Data token rather than a class_Name token.
You can see it in the .ih file, which has the declaration
#define view_PostResource(self,path,type,long) \
((* ((void (*)())((self)->header.view_methods->routines[16]))) (self,path,type,long))
for the original method
PostResource( struct atomlist * path, struct atom * type,
long data );
The parameter name should be changed.
Bill
Technical Details
Message-ID:
<91May7.184629pdt.33025@holmes.parc.xerox.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!ucbvax!parc.xerox.com!janssenShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!ucbvax!parc.xerox.com!janssen From: janssen@parc.xerox.com (Bill Janssen) Newsgroups: comp.soft-sys.andrew Subject: Bug in .ch file for view Message-ID: <91May7.184629pdt.33025@holmes.parc.xerox.com> Date: 8 May 91 01:46:17 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 17