From: Jim Meyering Date: Fri, 26 Jan 2007 15:37:37 +0000 (+0100) Subject: * src/dd.c (advance_input_after_read_error): Change diagnostic to X-Git-Tag: COREUTILS-6_8~58 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9140950afb79c94be0d466bf3dae1db7de927a39;p=platform%2Fupstream%2Fcoreutils.git * src/dd.c (advance_input_after_read_error): Change diagnostic to say "invalid file offset" rather than "screwy file offset". --- diff --git a/ChangeLog b/ChangeLog index e85134e..8255231 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-01-26 Jim Meyering + * src/dd.c (advance_input_after_read_error): Change diagnostic to + say "invalid file offset" rather than "screwy file offset". + * .x-sc_cast_of_argument_to_free: Remove this file. * Makefile.am (EXTRA_DIST): Likewise. diff --git a/src/dd.c b/src/dd.c index 1a3a4e4..c781da4 100644 --- a/src/dd.c +++ b/src/dd.c @@ -1,5 +1,5 @@ /* dd -- convert a file while copying it. - Copyright (C) 85, 90, 91, 1995-2006 Free Software Foundation, Inc. + Copyright (C) 85, 90, 91, 1995-2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -1226,7 +1226,7 @@ advance_input_after_read_error (size_t nbytes) return true; diff = input_offset - offset; if (! (0 <= diff && diff <= nbytes)) - error (0, 0, _("warning: screwy file offset after failed read")); + error (0, 0, _("warning: invalid file offset after failed read")); if (0 <= skip_via_lseek (input_file, STDIN_FILENO, diff, SEEK_CUR)) return true; if (errno == 0)