mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
Hiroshi Ito writes:
Hello I'm using busy box on mipsel machine. "grep -f file" will cause segmentation fault. Vladimir N. Oleynik writes: Hiroshi, Thank for bug report, but your patch is full broken. Worked patch attached. (really changes is zero initialize, and indent correcting). --w vodz
This commit is contained in:
parent
94d628c76a
commit
31c27a9c65
@ -261,7 +261,7 @@ extern int grep_main(int argc, char **argv)
|
|||||||
FILE *file;
|
FILE *file;
|
||||||
int matched;
|
int matched;
|
||||||
unsigned long opt;
|
unsigned long opt;
|
||||||
llist_t *fopt;
|
llist_t *fopt = NULL;
|
||||||
|
|
||||||
/* do normal option parsing */
|
/* do normal option parsing */
|
||||||
#ifdef CONFIG_FEATURE_GREP_CONTEXT
|
#ifdef CONFIG_FEATURE_GREP_CONTEXT
|
||||||
|
Loading…
Reference in New Issue
Block a user