--On Thursday, January 03, 2008 04:15:23 PM -0600 "Douglas E. Engert" <[EMAIL PROTECTED]> wrote:

# 5 __FUNCTION__
Are you sure "__FILE__||"k5_get_cred"" does what you think?

No, but it did compile :-)

That's interesting, given that it evaluates to an integer which is not type-compatible with what's being expected there.

The correct way to write this is without the ||, taking advantage of the fact that standard C allows string literals to be concatenated by juxtaposition.

--Jeff
_______________________________________________
OpenAFS-devel mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-devel

Reply via email to