Branch: refs/heads/stable-4.12.x
Home: https://github.com/xrootd/xrootd
Commit: 9c79f38e06429acbd5a2ed82de0d80ca81a6c0d7
https://github.com/xrootd/xrootd/commit/9c79f38e06429acbd5a2ed82de0d80ca81a6c0d7
Author: Mattias Ellert <[log in to unmask]>
Date: 2021-03-01 (Mon, 01 Mar 2021)
Changed paths:
M src/XrdOuc/XrdOucPsx.cc
Log Message:
-----------
Use correct size for struct
The fix for the gcc 11 compiler warning in commit
8f36753d46c183aa89058219e36e9a2980afd250 is incorrect.
Placing the sizeof statement in parenthesis does not correct the bug,
it just obfuscates the code so that the compiler doesn't see it.
The correct fix is to give the unnamed struct a name so that the
sizeof the struct can be used in the calculation.
Conflicts:
src/XrdOuc/XrdOucPsx.cc
########################################################################
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
|