SHA256
6
0
forked from pool/rpm
OBS User unknown
2006-12-18 23:17:44 +00:00
committed by Git OBS Bridge
commit 3c349e9165
100 changed files with 10986 additions and 0 deletions

17
badforsyntax.diff Normal file
View File

@@ -0,0 +1,17 @@
This fixes a typo that caused a compiler warning [#178055].
Already included in rpm-4.4.7.
Index: ./rpmdb/header_internal.c
===================================================================
--- ./rpmdb/header_internal.c
+++ ./rpmdb/header_internal.c
@@ -22,7 +22,7 @@ char ** headerGetLangs(Header h)
if ((table = (char **)xcalloc((count+1), sizeof(char *))) == NULL)
return NULL;
- for (i = 0, e = *s; i < count > 0; i++, e += strlen(e)+1)
+ for (i = 0, e = *s; i < count; i++, e += strlen(e)+1)
table[i] = e;
table[count] = NULL;