Print

Print


  Branch: refs/heads/xrdssi
  Home:   https://github.com/xrootd/xrootd
  Commit: b44a75e641ffd0bfff0a30cbd438ec6995432336
      https://github.com/xrootd/xrootd/commit/b44a75e641ffd0bfff0a30cbd438ec6995432336
  Author: Mario Juric <[log in to unmask]>
  Date:   2015-08-25 (Tue, 25 Aug 2015)

  Changed paths:
    M src/XrdSsi/XrdSsiFileReq.cc

  Log Message:
  -----------
  Use correct snprintf sizeof variable

Clang reports a problem with the variable being used to calculate the
size of the string buffer in XrdSsiFileReq::Alloc -

    XrdSsiFileReq.cc:142:33: error: invalid use of member 'rID' in static member

The fix is to use sizeof() on the same variable that is receiving the string.


  Commit: 25e7dbd1908a9ea16148ba2dde6e0bdd4606c109
      https://github.com/xrootd/xrootd/commit/25e7dbd1908a9ea16148ba2dde6e0bdd4606c109
  Author: Andrew Hanushevsky <[log in to unmask]>
  Date:   2015-09-03 (Thu, 03 Sep 2015)

  Changed paths:
    M src/XrdSsi/XrdSsiFileReq.cc

  Log Message:
  -----------
  Merge pull request #281 from timj/xrdssi

Use correct snprintf sizeof variable


Compare: https://github.com/xrootd/xrootd/compare/638828f77e3a...25e7dbd1908a

########################################################################
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