whitespace fixes
This commit is contained in:
parent
8e486d5282
commit
1e0c3a0ba6
4
grep.c
4
grep.c
|
@ -193,7 +193,7 @@ main(int argc, char *argv[])
|
||||||
break;
|
break;
|
||||||
case 'e':
|
case 'e':
|
||||||
arg = EARGF(usage());
|
arg = EARGF(usage());
|
||||||
if(!(fp = fmemopen(arg, strlen(arg) + 1, "r")))
|
if (!(fp = fmemopen(arg, strlen(arg) + 1, "r")))
|
||||||
eprintf("fmemopen:");
|
eprintf("fmemopen:");
|
||||||
addpatternfile(fp);
|
addpatternfile(fp);
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
|
@ -243,7 +243,7 @@ main(int argc, char *argv[])
|
||||||
|
|
||||||
/* just add literal pattern to list */
|
/* just add literal pattern to list */
|
||||||
if (!eflag && !fflag) {
|
if (!eflag && !fflag) {
|
||||||
if(!(fp = fmemopen(argv[0], strlen(argv[0]) + 1, "r")))
|
if (!(fp = fmemopen(argv[0], strlen(argv[0]) + 1, "r")))
|
||||||
eprintf("fmemopen:");
|
eprintf("fmemopen:");
|
||||||
addpatternfile(fp);
|
addpatternfile(fp);
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user