[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] fix build with new versions of glibc

From: David James <james_at_cs.toronto.edu>
Date: 2007-09-13 15:55:17 CEST

On 9/13/07, Joe Orton <jorton@redhat.com> wrote:
> Recent releases of glibc define "open" in unistd.h as a macro, to allow
> the detection at compile time of open() invocations which have undefined
> behaviour (omitting the mode parameter when required, notably). This is
> explicitly permitted by the POSIX specification for all function call
> interfaces it defines.
>
> The SVN build breaks with these new glibc releases - in places where
> "foo->open(" is used, the "open(" part gets macro-expanded to
> something... undesirable. The patch below prevents that macro expansion
> and fixes the build.

Nice fix. Thanks for fixing header_wrappers.py as well.

+1 from me on your patch.

Cheers,

David

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 13 15:51:47 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.