Print

Print


Without explicitly ignoring the argument value, we trigger an assert to make sure all arguments have been processed - even if it is otherwise ignored.

Assert failure looked like:
```
170301 22:44:17 2410886 XrdFileCache_Config: pfc.nramread is deprecated, please use pfc.ram instead. Ignoring this directive.
xrootd: /home/cse496/bbockelm/projects/xrootd/src/XrdFileCache/XrdFileCacheConfiguration.cc:413: bool XrdFileCache::Cache::ConfigParameters(std::string, XrdOucStream&, XrdFileCache::TmpConfiguration&): Assertion `config.GetWord() == 0 && "Cache::ConfigParameters() lost argument"' failed.
```

triggered by the presence of `pfc.nramread 4`.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Ignore unnecessary parameter.

-- File Changes --

    M src/XrdFileCache/XrdFileCacheConfiguration.cc (1)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/473.patch
https://github.com/xrootd/xrootd/pull/473.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/473

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