diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-26 20:04:27 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-03-26 20:04:27 +0000 |
commit | 8ee649a02e97e9d4e770a8138ba94c0f3ddd8055 (patch) | |
tree | cf13ce448542a36595264ad53397a0633ffedcc8 /findutils | |
parent | ce7eb4443cc90038aabc19a8b7b8f25e4b88892e (diff) | |
download | busybox-w32-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.tar.gz busybox-w32-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.tar.bz2 busybox-w32-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.zip |
*: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/
Diffstat (limited to 'findutils')
-rw-r--r-- | findutils/grep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/findutils/grep.c b/findutils/grep.c index 259026ee5..b319e22ce 100644 --- a/findutils/grep.c +++ b/findutils/grep.c | |||
@@ -172,7 +172,7 @@ static int grep_file(FILE *file) | |||
172 | enum { print_n_lines_after = 0 }; | 172 | enum { print_n_lines_after = 0 }; |
173 | #endif /* ENABLE_FEATURE_GREP_CONTEXT */ | 173 | #endif /* ENABLE_FEATURE_GREP_CONTEXT */ |
174 | 174 | ||
175 | while ((line = xmalloc_getline(file)) != NULL) { | 175 | while ((line = xmalloc_fgetline(file)) != NULL) { |
176 | llist_t *pattern_ptr = pattern_head; | 176 | llist_t *pattern_ptr = pattern_head; |
177 | grep_list_data_t *gl = gl; /* for gcc */ | 177 | grep_list_data_t *gl = gl; /* for gcc */ |
178 | 178 | ||
@@ -364,7 +364,7 @@ static void load_regexes_from_file(llist_t *fopt) | |||
364 | fopt = cur->link; | 364 | fopt = cur->link; |
365 | free(cur); | 365 | free(cur); |
366 | f = xfopen(ffile, "r"); | 366 | f = xfopen(ffile, "r"); |
367 | while ((line = xmalloc_getline(f)) != NULL) { | 367 | while ((line = xmalloc_fgetline(f)) != NULL) { |
368 | llist_add_to(&pattern_head, | 368 | llist_add_to(&pattern_head, |
369 | new_grep_list_data(line, PATTERN_MEM_A)); | 369 | new_grep_list_data(line, PATTERN_MEM_A)); |
370 | } | 370 | } |