Print

Print


  Branch: refs/heads/master
  Home:   https://github.com/xrootd/xrootd
  Commit: fa7b5bd944771a986e0160afa0252427f9bd084e
      https://github.com/xrootd/xrootd/commit/fa7b5bd944771a986e0160afa0252427f9bd084e
  Author: Mattias Ellert <[log in to unmask]>
  Date:   2021-12-12 (Sun, 12 Dec 2021)

  Changed paths:
    M src/XrdApps/XrdPrep.cc

  Log Message:
  -----------
  Add missing include

Fixes GNU/Hurd build

/<<PKGBUILDDIR>>/src/XrdApps/XrdPrep.cc: In function ‘int main(int, char**)’:
/<<PKGBUILDDIR>>/src/XrdApps/XrdPrep.cc:109:34: error: ‘MAXPATHLEN’ was not declared in this scope
  109 |    static const int MaxPathLen = MAXPATHLEN+1;
      |                                  ^~~~~~~~~~
/<<PKGBUILDDIR>>/src/XrdApps/XrdPrep.cc:213:24: error: size of array ‘fBuff’ is not an integral constant-expression
  213 |        char *sP, fBuff[MaxPathLen];
      |                        ^~~~~~~~~~
src/CMakeFiles/xrdprep.dir/build.make:78: recipe for target 'src/CMakeFiles/xrdprep.dir/XrdApps/XrdPrep.cc.o' failed


  Commit: 3c9b80fb81648bf9112ed8ab9bf6af1245b8aa15
      https://github.com/xrootd/xrootd/commit/3c9b80fb81648bf9112ed8ab9bf6af1245b8aa15
  Author: Andrew Hanushevsky <[log in to unmask]>
  Date:   2021-12-12 (Sun, 12 Dec 2021)

  Changed paths:
    M src/XrdApps/XrdPrep.cc

  Log Message:
  -----------
  Merge pull request #1573 from ellert/missing-include

Add missing include


Compare: https://github.com/xrootd/xrootd/compare/eb7bfcf159cb...3c9b80fb8164

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