@simonmichal commented on this pull request.
In src/XrdSec/XrdSecEntity.hh:
> @@ -69,13 +69,29 @@ const char *tident; // Trace identifier always preset // it in your XrdSfsFileSystem::Disc() // implementation, as needed. XrdSecEntity(const char *pName = "") - : name(0), host(0), vorg(0), role(0), grps(0), - endorsements(0), moninfo(0), creds(0), credslen(0), - rsvd(0), addrInfo(0), tident(""), sessvar(0) - {strncpy(prot, pName, XrdSecPROTOIDSIZE-1); + {Reset(); + strncpy(prot, pName, XrdSecPROTOIDSIZE-1); prot[XrdSecPROTOIDSIZE-1] = '\0';
The code compiled against the old version of constructor will have the old version of the constructor inlined, there's no ABI compatibility problem. The new and the old version of the constructor are functionally equivalent so it is OK.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1