projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a162f5d
)
Typo.
author
jbj
<devnull@localhost>
Wed, 26 May 1999 00:09:42 +0000
(
00:09
+0000)
committer
jbj
<devnull@localhost>
Wed, 26 May 1999 00:09:42 +0000
(
00:09
+0000)
CVS patchset: 3078
CVS date: 1999/05/26 00:09:42
lib/rpmrc.c
patch
|
blob
|
history
diff --git
a/lib/rpmrc.c
b/lib/rpmrc.c
index
ac2f36b
..
0635458
100644
(file)
--- a/
lib/rpmrc.c
+++ b/
lib/rpmrc.c
@@
-702,6
+702,7
@@
static int doReadRC(FD_t fd, const char * filename)
case RPMVAR_PROVIDES:
{ char *t;
s = rpmGetVar(RPMVAR_PROVIDES);
+ if (s == NULL) s = "";
fn = t = malloc(strlen(s) + strlen(se) + 2);
while (*s) *t++ = *s++;
*t++ = ' ';