Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Whitley <markw@lineo.com>2000-06-29 02:15:26 +0400
committerMark Whitley <markw@lineo.com>2000-06-29 02:15:26 +0400
commit1ca41775bbdc07cf67be79aebc566754c9c02855 (patch)
tree0ac134f0a80036aec272b04c3a057ea2ae055b20 /miscutils/dc.c
parentd37218941c37795cc8e96ddb3312d83fb2269d5a (diff)
Yanked out the cstring_alloc() and cstring_lineFromFile() functions from
utility.c and replaced them with get_line_from_file() from the new grep.c. Also changed declaration in internal.h and replaced instances of cstring_lineFromFile() in dc.c and sort.c with get_line_from_file(). Tested them and they worked fine.
Diffstat (limited to 'miscutils/dc.c')
-rw-r--r--miscutils/dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c
index 31a5471c3..5bf3bc984 100644
--- a/miscutils/dc.c
+++ b/miscutils/dc.c
@@ -170,7 +170,7 @@ int dc_main(int argc, char **argv)
char *line = NULL;
char *cursor = NULL;
char *token = NULL;
- while ((line = cstring_lineFromFile(stdin))) {
+ while ((line = get_line_from_file(stdin))) {
cursor = line;
len = number_of_tokens(line);
for (i = 0; i < len; i++) {