[OpenAFS-devel] rxk5 branch is ready; please test

Jeffrey Hutzelman jhutz@cmu.edu
Fri, 11 Jan 2008 01:40:15 -0500


--On Thursday, January 03, 2008 04:15:23 PM -0600 "Douglas E. Engert" 
<deengert@anl.gov> 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