diff options
| author | Antoine Tenart | 2018-08-29 10:55:52 +0200 |
|---|---|---|
| committer | jvoisin | 2018-08-29 11:02:02 +0200 |
| commit | c817db081750a579812570e40e87e8978fdb0ea9 (patch) | |
| tree | 2d9699fb88316bc64db1dd07b578bc7d9cab77e8 /doc/source/papers.rst | |
| parent | 64e52596abaf4bdd4c17f79c4e8acf25d1a452b4 (diff) | |
Remove the GLOB_BRACE flag
When calling glob() to get the configuration file location, the
GLOB_BRACE flag is used. This flag enables the parsing of '{a,b}', so
that '/path/{a,b}' represents '/path/a' and '/path/b'. Looking at
Snuffleupagus' documentation I saw nowhere this kind of path was
supported. Instead the documentation shows that glob() is used for paths
with wildcards.
The use of GLOB_BRACE is problematic as it is glibc specific and is not
supported by some other C libraries, such as Musl. Snuffleupagus cannot
be used in Apline for this reason.
Since the documentation does not give a valid usage of GLOB_BRACE this
patch removes it, which fixes the non-glibc support.
Signed-off-by: Antoine Tenart <antoine.tenart@ack.tf>
Diffstat (limited to 'doc/source/papers.rst')
0 files changed, 0 insertions, 0 deletions
