Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f570812 authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

am d262b2a8: am 54bb1d3b: Merge "Fix grep -f."

* commit 'd262b2a8':
  Fix grep -f.
parents 53a3b3f5 d262b2a8
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -294,10 +294,8 @@ read_patterns(const char *fn)
		err(2, "%s", fn);
	line = NULL;
	len = 0;
#ifndef ANDROID
	while ((rlen = getline(&line, &len, f)) != -1)
		add_pattern(line, *line == '\n' ? 0 : (size_t)rlen);
#endif
	free(line);
	if (ferror(f))
		err(2, "%s", fn);