Globbing across directories is not supported. Fixes #1149.
authorAlan T. DeKok <aland@freeradius.org>
Fri, 17 Jul 2015 01:07:14 +0000 (21:07 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 17 Jul 2015 01:07:14 +0000 (21:07 -0400)
commitac2fc42b977dca2823e1e9f4700cdca42b2548cb
tree58411209b6e2f56e1975f820b3dee7eeb7e4739b
parentbe8e25104b7fcd708f7517748fd477dc7c7bb089
Globbing across directories is not supported.  Fixes #1149.

The rest of the "filename_work" code assumes that the detail.work
file is in the same directory as the files being globbed.  In order
to support globbing for directories, the code will have to be updated
to *not* open detail.work, but instead to do a *second* file
globbing() on .../*/detail.work, in order to get the real filename
of the detail.work file.

In the short term it's easier to just enforce the assumptions
in the rest of the code.
src/main/detail.c