Print

Print


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
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/1573

-- Commit Summary --

  * Add missing include

-- File Changes --

    M src/XrdApps/XrdPrep.cc (1)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/1573.patch
https://github.com/xrootd/xrootd/pull/1573.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1573

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