diff options
author | Michael Schroeder <mls@suse.de> | 2014-03-25 15:25:38 +0100 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2014-03-25 15:25:38 +0100 |
commit | 3317e2d67d5874bc7393cffa2b9ad2f439e97ea8 (patch) | |
tree | 538d5495e6d6fb9dfe5f36f1df9974383d4b4a23 /ext | |
parent | 06024bfde08eab95704a071c08f504ced2387062 (diff) | |
download | libsolv-3317e2d67d5874bc7393cffa2b9ad2f439e97ea8.tar.gz libsolv-3317e2d67d5874bc7393cffa2b9ad2f439e97ea8.tar.bz2 libsolv-3317e2d67d5874bc7393cffa2b9ad2f439e97ea8.zip |
ignore pattern() provides that start with '.'
Diffstat (limited to 'ext')
-rw-r--r-- | ext/repo_autopattern.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/repo_autopattern.c b/ext/repo_autopattern.c index 4335382..01238aa 100644 --- a/ext/repo_autopattern.c +++ b/ext/repo_autopattern.c @@ -132,6 +132,9 @@ repo_add_autopattern(Repo *repo, int flags) continue; if (rd->name == pattern_id) { + const char *evrstr = pool_id2str(pool, rd->evr); + if (evrstr[0] == '.') + continue; queue_push2(&patq2, p, rd->evr); break; } |