summaryrefslogtreecommitdiff
path: root/src/sp_config.h
diff options
context:
space:
mode:
authorAntoine Tenart2018-08-29 10:55:52 +0200
committerjvoisin2018-08-29 11:02:02 +0200
commitc817db081750a579812570e40e87e8978fdb0ea9 (patch)
tree2d9699fb88316bc64db1dd07b578bc7d9cab77e8 /src/sp_config.h
parent64e52596abaf4bdd4c17f79c4e8acf25d1a452b4 (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 'src/sp_config.h')
0 files changed, 0 insertions, 0 deletions