Typo.
authorjbj <devnull@localhost>
Wed, 26 May 1999 00:09:42 +0000 (00:09 +0000)
committerjbj <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

index ac2f36b..0635458 100644 (file)
@@ -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++ = ' ';