Hi all,

It looks like there's a bug in this definition:
         WhoAmI(OUT afs_int64 id, OUT struct PrAuthName *alist) = 65540;

If I remember correctly, OUT parameters must be of pointer type (whether directly or via a typedef), but the 'id' parameter is a scalar type.

With appropriate flags, the complier complains that the variable 'id' is used without having been initialized, when compiling the generated stub code.

I think there's a reasonable argument that we don't need to allocate a new code point to fix the error, and can just note the typo as an erratum. What are other peoples' thoughts?

-Ben
_______________________________________________
AFS3-standardization mailing list
[email protected]
http://lists.openafs.org/mailman/listinfo/afs3-standardization

Reply via email to