On Sat, Nov 03, 2007 at 12:23:16AM +0100, Jim Meyering wrote:
> This is not totally fair, because while I made mmap64 return -1,
> I did not set errno, which would normally happen for a real failure.
> I tried, but __errno_location() returns an invalid address.

FYI, try ((int * (*) ()) __errno_location) ().  The default return
type for non-debugging functions is int rather than long still.

-- 
Daniel Jacobowitz
CodeSourcery


Reply via email to