Fix alpha compilation failure

GOTO Masanori gotom@debian.or.jp
Tue May 25 15:10:00 GMT 2004


At Mon, 17 May 2004 10:58:41 -0700,
Ulrich Drepper wrote:
> > The current cvs failed to compile on alpha with linux kernel < 2.6.4,
> > because old version did not have __NR_{fstat,lstat,stat}64.  This
> > patch checks such syscalls are actually defined.
> 
> This patch is not correct.  The code should never set errno unless it's
> necessary.  It's allowed by the standard, yes, but we still don't do it.
> 
> Secondly, it would be good to introduce an appropriate __ASSUME_* macro.
>  I know, this is nothing you introduced but still, it needs fixing.

Thanks for your comment, exactly it should use __ASSUME_* macro. I
retry to submit patches later.

Regards,
-- gotom



More information about the Libc-alpha mailing list