diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 23:25:17 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-10-26 23:25:17 +0000 |
| commit | ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0 (patch) | |
| tree | f4f2aa58fa669aed6e2c50bb7aa648a79ec1873d /shell | |
| parent | f0ed376eda5d5c25d270e5100a881fb2d801bee6 (diff) | |
| download | busybox-w32-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.tar.gz busybox-w32-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.tar.bz2 busybox-w32-ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0.zip | |
rename functions to more understandable names
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 | } |
