projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d803dbc
)
detect and report wrong placement of 'CONTENTSTYLE'
author
Klaus Kaempf
<kkaempf@suse.de>
Mon, 27 Oct 2008 09:52:00 +0000
(09:52 +0000)
committer
Klaus Kaempf
<kkaempf@suse.de>
Mon, 27 Oct 2008 09:52:00 +0000
(09:52 +0000)
tools/repo_content.c
patch
|
blob
|
history
diff --git
a/tools/repo_content.c
b/tools/repo_content.c
index
4d9bd2d
..
4f0bef5
100644
(file)
--- a/
tools/repo_content.c
+++ b/
tools/repo_content.c
@@
-365,6
+365,9
@@
repo_add_content(Repo *repo, FILE *fp, int flags)
*
*/
+ else if (code10 && istag ("CONTENTSTYLE"))
+ /* CONTENTSTYLE must be first line */
+ fprintf(stderr, "repo_content: 'CONTENTSTYLE' must be first line of 'content'\n");
else if (code10 && istag ("DISTPRODUCT"))
/* DISTPRODUCT is for registration and Yast, not for the solver. */
repo_set_str(repo, s - pool->solvables, PRODUCT_DISTPRODUCT, value);