diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-12 22:43:20 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-12 22:43:20 +0000 |
commit | 2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c (patch) | |
tree | 08de18a783dbb518dfbe5832751a214aff7d0a7a /editors/sed.c | |
parent | 372686bde7b4c0abaf01123d8dda1dc6ab9a92e2 (diff) | |
download | busybox-w32-2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c.tar.gz busybox-w32-2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c.tar.bz2 busybox-w32-2d5ca60bfb66e0ba7340ab9b4696b872f00adf7c.zip |
bb_get_[chomped]line_from_file wasn't descriptive enough.
Renaming...
Diffstat (limited to 'editors/sed.c')
-rw-r--r-- | editors/sed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/sed.c b/editors/sed.c index 7dba8b456..30f35ce22 100644 --- a/editors/sed.c +++ b/editors/sed.c | |||
@@ -904,7 +904,7 @@ restart: | |||
904 | if (rfile) { | 904 | if (rfile) { |
905 | char *line; | 905 | char *line; |
906 | 906 | ||
907 | while ((line = bb_get_chomped_line_from_file(rfile)) | 907 | while ((line = xmalloc_getline(rfile)) |
908 | != NULL) | 908 | != NULL) |
909 | append(line); | 909 | append(line); |
910 | xprint_and_close_file(rfile); | 910 | xprint_and_close_file(rfile); |
@@ -1099,7 +1099,7 @@ static void add_files_link(llist_t *opt_f) | |||
1099 | if (!opt_f) return; | 1099 | if (!opt_f) return; |
1100 | add_files_link(opt_f->link); | 1100 | add_files_link(opt_f->link); |
1101 | cmdfile = xfopen(opt_f->data, "r"); | 1101 | cmdfile = xfopen(opt_f->data, "r"); |
1102 | while ((line = bb_get_chomped_line_from_file(cmdfile)) != NULL) { | 1102 | while ((line = xmalloc_getline(cmdfile)) != NULL) { |
1103 | add_cmd(line); | 1103 | add_cmd(line); |
1104 | free(line); | 1104 | free(line); |
1105 | } | 1105 | } |