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 /coreutils/cut.c | |
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 'coreutils/cut.c')
-rw-r--r-- | coreutils/cut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cut.c b/coreutils/cut.c index e617ef28f..7a44d1088 100644 --- a/coreutils/cut.c +++ b/coreutils/cut.c | |||
@@ -51,7 +51,7 @@ static void cut_file(FILE *file, char delim) | |||
51 | unsigned int linenum = 0; /* keep these zero-based to be consistent */ | 51 | unsigned int linenum = 0; /* keep these zero-based to be consistent */ |
52 | 52 | ||
53 | /* go through every line in the file */ | 53 | /* go through every line in the file */ |
54 | while ((line = xmalloc_getline(file)) != NULL) { | 54 | while ((line = xmalloc_fgetline(file)) != NULL) { |
55 | 55 | ||
56 | /* set up a list so we can keep track of what's been printed */ | 56 | /* set up a list so we can keep track of what's been printed */ |
57 | char * printed = xzalloc(strlen(line) * sizeof(char)); | 57 | char * printed = xzalloc(strlen(line) * sizeof(char)); |