svn commit: r240060 - in head: include/rpc sys/rpc

Pedro Giffuni pfg at freebsd.org
Mon Sep 3 14:13:25 UTC 2012


Hello,

Sorry for the brevity but I can inly anser on a mobile device
right now ...

--- Lun 3/9/12, Konstantin Belousov <kostikbel at gmail.com> ha scritto:

> Da: Konstantin Belousov <kostikbel at gmail.com>
> Oggetto: Re: svn commit: r240060 - in head: include/rpc sys/rpc
> A: "Pedro F. Giffuni" <pfg at freebsd.org>
> Cc: src-committers at freebsd.org, svn-src-all at freebsd.org, svn-src-head at freebsd.org
> Data: Lunedì 3 settembre 2012, 02:31
> On Sun, Sep 02, 2012 at 09:04:40PM
> +0000, Pedro F. Giffuni wrote:
> > Author: pfg
> > Date: Sun Sep  2 21:04:40 2012
> > New Revision: 240060
> > URL: http://svn.freebsd.org/changeset/base/240060
> > 
> > Log:
> >   Fix RPC headers for C++
> >   
> >   C++ mangling will cause trouble with
> variables like __rpc_xdr
> >   in xdr.h so rename this to XDR.
> Which troubles ?
>
 
PR 137443

> Although not very useful due to many other namespace
> pollution problems
> in the rpc headers, __rpc_xdr is in the
> implementation-reserved namespace,
> while XDR is not.
> 

The forced reference here is {Open}Solaris:

http://src.illumos.org/source/xref/illumos-gate/usr/src/uts/common/rpc/xdr.h

OpenGrok found no reference to __rpc_xdr
in OpenSolaris/illumos.

Cheers,

Pedro.





More information about the svn-src-all mailing list