aboutsummaryrefslogtreecommitdiff
path: root/editors/sed.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-03-26 20:04:27 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-03-26 20:04:27 +0000
commit8ee649a02e97e9d4e770a8138ba94c0f3ddd8055 (patch)
treecf13ce448542a36595264ad53397a0633ffedcc8 /editors/sed.c
parentce7eb4443cc90038aabc19a8b7b8f25e4b88892e (diff)
downloadbusybox-w32-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.tar.gz
busybox-w32-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.tar.bz2
busybox-w32-8ee649a02e97e9d4e770a8138ba94c0f3ddd8055.zip
*: more uniform naming: s/xmalloc_getline/xmalloc_fgetline/
Diffstat (limited to 'editors/sed.c')
-rw-r--r--editors/sed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/sed.c b/editors/sed.c
index 32911f8f9..f85884534 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -1028,7 +1028,7 @@ static void process_files(void)
1028 if (rfile) { 1028 if (rfile) {
1029 char *line; 1029 char *line;
1030 1030
1031 while ((line = xmalloc_getline(rfile)) 1031 while ((line = xmalloc_fgetline(rfile))
1032 != NULL) 1032 != NULL)
1033 append(line); 1033 append(line);
1034 xprint_and_close_file(rfile); 1034 xprint_and_close_file(rfile);
@@ -1273,7 +1273,7 @@ int sed_main(int argc ATTRIBUTE_UNUSED, char **argv)
1273 char *line; 1273 char *line;
1274 FILE *cmdfile; 1274 FILE *cmdfile;
1275 cmdfile = xfopen(opt_f->data, "r"); 1275 cmdfile = xfopen(opt_f->data, "r");
1276 while ((line = xmalloc_getline(cmdfile)) != NULL) { 1276 while ((line = xmalloc_fgetline(cmdfile)) != NULL) {
1277 add_cmd(line); 1277 add_cmd(line);
1278 free(line); 1278 free(line);
1279 } 1279 }