diff options
author | Nick Kralevich <nnk@google.com> | 2015-02-24 14:45:28 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-02-24 14:45:28 +0000 |
commit | 3bcc64e5438ec215b80983180ce8558dce7b4832 (patch) | |
tree | 404d675798b5fd73e862ea4f156e442ba665eb09 | |
parent | 70fa6170b133c30b88cbd826c9281678c57be73f (diff) | |
parent | 3e2570ee37cab32ded83d9d293d91938652814c1 (diff) | |
download | libselinux-3bcc64e5438ec215b80983180ce8558dce7b4832.tar.gz |
am 3e2570ee: am 51fc85bc: handle newlines in file names
* commit '3e2570ee37cab32ded83d9d293d91938652814c1':
handle newlines in file names
-rw-r--r-- | src/label_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/label_file.c b/src/label_file.c index b65e049..c860016 100644 --- a/src/label_file.c +++ b/src/label_file.c @@ -256,7 +256,7 @@ static int compile_regex(struct saved_data *data, spec_t *spec, const char **err *cp = '\0'; /* Compile the regular expression. */ - spec->regex = pcre_compile(anchored_regex, 0, &tmperrbuf, &erroff, NULL); + spec->regex = pcre_compile(anchored_regex, PCRE_DOTALL, &tmperrbuf, &erroff, NULL); free(anchored_regex); if (!spec->regex) { if (errbuf) |