parseSpec.c | parseSpec.c | |||
---|---|---|---|---|
skipping to change at line 527 | skipping to change at line 527 | |||
/*@-redecl@*/ | /*@-redecl@*/ | |||
/*@unchecked@*/ | /*@unchecked@*/ | |||
extern int noLang; /* XXX FIXME: pass as arg */ | extern int noLang; /* XXX FIXME: pass as arg */ | |||
/*@=redecl@*/ | /*@=redecl@*/ | |||
/*@todo Skip parse recursion if os is not compatible. @*/ | /*@todo Skip parse recursion if os is not compatible. @*/ | |||
int parseSpec(rpmts ts, const char *specFile, const char *rootURL, | int parseSpec(rpmts ts, const char *specFile, const char *rootURL, | |||
int recursing, const char *passPhrase, | int recursing, const char *passPhrase, | |||
const char *cookie, int anyarch, int force, int verify) | const char *cookie, int anyarch, int force, int verify) | |||
{ | { | |||
HE_t he = memset(alloca(sizeof(*he)), 0, sizeof(*he)); | HE_t he = (HE_t) memset(alloca(sizeof(*he)), 0, sizeof(*he)); | |||
rpmParseState parsePart = PART_PREAMBLE; | rpmParseState parsePart = PART_PREAMBLE; | |||
int initialPackage = 1; | int initialPackage = 1; | |||
Package pkg; | Package pkg; | |||
Spec spec; | Spec spec; | |||
int xx; | int xx; | |||
/* Set up a new Spec structure with no packages. */ | /* Set up a new Spec structure with no packages. */ | |||
spec = newSpec(); | spec = newSpec(); | |||
/* | /* | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ |