diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-26 23:25:17 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-10-26 23:25:17 +0000 |
commit | 467f463615e7329b267abea02da9ed9cedd2382b (patch) | |
tree | f4f2aa58fa669aed6e2c50bb7aa648a79ec1873d /shell | |
parent | 6dc3a21627db11fa0f374afe29a6bbf4f89c8b64 (diff) | |
download | busybox-w32-467f463615e7329b267abea02da9ed9cedd2382b.tar.gz busybox-w32-467f463615e7329b267abea02da9ed9cedd2382b.tar.bz2 busybox-w32-467f463615e7329b267abea02da9ed9cedd2382b.zip |
rename functions to more understandable names
git-svn-id: svn://busybox.net/trunk/busybox@16447 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-rw-r--r-- | shell/lash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/lash.c b/shell/lash.c index 96c0b3007..4067bc6bc 100644 --- a/shell/lash.c +++ b/shell/lash.c | |||
@@ -426,7 +426,7 @@ static int builtin_source(struct child_prog *child) | |||
426 | FILE *input; | 426 | FILE *input; |
427 | int status; | 427 | int status; |
428 | 428 | ||
429 | input = bb_wfopen(child->argv[1], "r"); | 429 | input = fopen_or_warn(child->argv[1], "r"); |
430 | if (!input) { | 430 | if (!input) { |
431 | return EXIT_FAILURE; | 431 | return EXIT_FAILURE; |
432 | } | 432 | } |
@@ -1522,7 +1522,7 @@ int lash_main(int argc_l, char **argv_l) | |||
1522 | llist_add_to(&close_me_list, (void *)(long)fileno(prof_input)); | 1522 | llist_add_to(&close_me_list, (void *)(long)fileno(prof_input)); |
1523 | /* Now run the file */ | 1523 | /* Now run the file */ |
1524 | busy_loop(prof_input); | 1524 | busy_loop(prof_input); |
1525 | bb_fclose_nonstdin(prof_input); | 1525 | fclose_if_not_stdin(prof_input); |
1526 | llist_pop(&close_me_list); | 1526 | llist_pop(&close_me_list); |
1527 | } | 1527 | } |
1528 | } | 1528 | } |