aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-12 20:26:32 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-12 20:26:32 +0000
commit7467c8d3b6a50e2cbd8db750963d40b420ad38d1 (patch)
tree10dcece1e0bb88e35aa95c3a68896ad426e43f7a /coreutils
parentf69bfc76fa7acb0c87fa3f3b319fde361a8315a8 (diff)
downloadbusybox-7467c8d3b6a50e2cbd8db750963d40b420ad38d1.tar.gz
Patch from vodz:
Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/md5sum.c12
-rw-r--r--coreutils/stty.c2
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,
have_read_stdin = 1;
fp = stdin;
} else {
- fp = fopen(filename, "r");
- if (fp == NULL) {
- perror_msg("%s", filename);
+ fp = wfopen(filename, "r");
+ if (fp == NULL)
return FALSE;
}
- }
if (md5_stream(fp, md5_result)) {
perror_msg("%s", filename);
@@ -807,12 +805,10 @@ static int md5_check(const char *checkfile_name)
have_read_stdin = 1;
checkfile_stream = stdin;
} else {
- checkfile_stream = fopen(checkfile_name, "r");
- if (checkfile_stream == NULL) {
- perror_msg("%s", checkfile_name);
+ checkfile_stream = wfopen(checkfile_name, "r");
+ if (checkfile_stream == NULL)
return FALSE;
}
- }
line_number = 0;
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 @@
David MacKenzie <djm@gnu.ai.mit.edu>
- Special for busybox ported by Vladimir Oleynik <vodz@usa.net> 2001
+ Special for busybox ported by Vladimir Oleynik <dzo@simtreas.ru> 2001
*/