diff options
| author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-07-12 20:26:32 +0000 |
|---|---|---|
| committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-07-12 20:26:32 +0000 |
| commit | 7baffca714b6264cd5cfd05c314a59aeea938f8f (patch) | |
| tree | 10dcece1e0bb88e35aa95c3a68896ad426e43f7a /coreutils | |
| parent | 2e2b0c24a40ade30387df0a9114a8ce5c77f059f (diff) | |
| download | busybox-w32-7baffca714b6264cd5cfd05c314a59aeea938f8f.tar.gz busybox-w32-7baffca714b6264cd5cfd05c314a59aeea938f8f.tar.bz2 busybox-w32-7baffca714b6264cd5cfd05c314a59aeea938f8f.zip | |
Patch from vodz:
Changed email address
cmdedit API change
optimizations for traceroute and md5sum
added a new shared create_icmp_socket() function
git-svn-id: svn://busybox.net/trunk/busybox@3078 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils')
| -rw-r--r-- | coreutils/md5sum.c | 12 | ||||
| -rw-r--r-- | coreutils/stty.c | 2 |
2 files changed, 5 insertions, 9 deletions
diff --git a/coreutils/md5sum.c b/coreutils/md5sum.c index 72bc08624..bb4d115ca 100644 --- a/coreutils/md5sum.c +++ b/coreutils/md5sum.c | |||
| @@ -770,12 +770,10 @@ static int md5_file(const char *filename, | |||
| 770 | have_read_stdin = 1; | 770 | have_read_stdin = 1; |
| 771 | fp = stdin; | 771 | fp = stdin; |
| 772 | } else { | 772 | } else { |
| 773 | fp = fopen(filename, "r"); | 773 | fp = wfopen(filename, "r"); |
| 774 | if (fp == NULL) { | 774 | if (fp == NULL) |
| 775 | perror_msg("%s", filename); | ||
| 776 | return FALSE; | 775 | return FALSE; |
| 777 | } | 776 | } |
| 778 | } | ||
| 779 | 777 | ||
| 780 | if (md5_stream(fp, md5_result)) { | 778 | if (md5_stream(fp, md5_result)) { |
| 781 | perror_msg("%s", filename); | 779 | perror_msg("%s", filename); |
| @@ -807,12 +805,10 @@ static int md5_check(const char *checkfile_name) | |||
| 807 | have_read_stdin = 1; | 805 | have_read_stdin = 1; |
| 808 | checkfile_stream = stdin; | 806 | checkfile_stream = stdin; |
| 809 | } else { | 807 | } else { |
| 810 | checkfile_stream = fopen(checkfile_name, "r"); | 808 | checkfile_stream = wfopen(checkfile_name, "r"); |
| 811 | if (checkfile_stream == NULL) { | 809 | if (checkfile_stream == NULL) |
| 812 | perror_msg("%s", checkfile_name); | ||
| 813 | return FALSE; | 810 | return FALSE; |
| 814 | } | 811 | } |
| 815 | } | ||
| 816 | 812 | ||
| 817 | line_number = 0; | 813 | line_number = 0; |
| 818 | 814 | ||
diff --git a/coreutils/stty.c b/coreutils/stty.c index 1e1343370..2e00a496d 100644 --- a/coreutils/stty.c +++ b/coreutils/stty.c | |||
| @@ -24,7 +24,7 @@ | |||
| 24 | 24 | ||
| 25 | David MacKenzie <djm@gnu.ai.mit.edu> | 25 | David MacKenzie <djm@gnu.ai.mit.edu> |
| 26 | 26 | ||
| 27 | Special for busybox ported by Vladimir Oleynik <vodz@usa.net> 2001 | 27 | Special for busybox ported by Vladimir Oleynik <dzo@simtreas.ru> 2001 |
| 28 | 28 | ||
| 29 | */ | 29 | */ |
| 30 | 30 | ||
