]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
binutils/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 8 Nov 2009 23:01:57 +0000 (23:01 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Sun, 8 Nov 2009 23:01:57 +0000 (23:01 +0000)
* bucomm.c (get_file_size): Update comment for the error return value.

binutils/ChangeLog
binutils/bucomm.c

index f3a98ff4ae547c4e4b4728f4814558c257c492d1..73561e4b64f8336776c4464be21273ceeb599da2 100644 (file)
@@ -1,3 +1,7 @@
+2009-11-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * bucomm.c (get_file_size): Update comment for the error return value.
+
 2009-11-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice.
index e006e615bbcd76521f32808cd1066bd799fc192d..64653d65a1e8589b93c9b6d89cb978f9e99cbaaa 100644 (file)
@@ -552,7 +552,7 @@ parse_vma (const char *s, const char *arg)
 
 /* Returns the size of the named file.  If the file does not
    exist, or if it is not a real file, then a suitable non-fatal
-   error message is printed and zero is returned.  */
+   error message is printed and (off_t) -1 is returned.  */
 
 off_t
 get_file_size (const char * file_name)