parseScript.c | parseScript.c | |||
---|---|---|---|---|
skipping to change at line 76 | skipping to change at line 76 | |||
{ 0, 0, 0, 0, 0, NULL, NULL} | { 0, 0, 0, 0, 0, NULL, NULL} | |||
}; | }; | |||
/* %trigger is a strange combination of %pre and Requires: behavior */ | /* %trigger is a strange combination of %pre and Requires: behavior */ | |||
/* We can handle it by parsing the args before "--" in parseScript. */ | /* We can handle it by parsing the args before "--" in parseScript. */ | |||
/* We then pass the remaining arguments to parseRCPOT, along with */ | /* We then pass the remaining arguments to parseRCPOT, along with */ | |||
/* an index we just determined. */ | /* an index we just determined. */ | |||
int parseScript(Spec spec, int parsePart) | int parseScript(Spec spec, int parsePart) | |||
{ | { | |||
HE_t he = memset(alloca(sizeof(*he)), 0, sizeof(*he)); | HE_t he = (HE_t) memset(alloca(sizeof(*he)), 0, sizeof(*he)); | |||
int xx; | int xx; | |||
/* There are a few options to scripts: */ | /* There are a few options to scripts: */ | |||
/* <pkg> */ | /* <pkg> */ | |||
/* -n <pkg> */ | /* -n <pkg> */ | |||
/* -p <sh> */ | /* -p <sh> */ | |||
/* -p "<sh> <args>..." */ | /* -p "<sh> <args>..." */ | |||
/* -f <file> */ | /* -f <file> */ | |||
char *p; | char *p; | |||
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/ |