From: Jan Kratochvil Date: Sun, 8 Nov 2009 23:01:57 +0000 (+0000) Subject: binutils/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a3029abda03d4fcf1a2aaa6948c9569a1b3f9c51;p=binutils-gdb.git binutils/ * bucomm.c (get_file_size): Update comment for the error return value. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index f3a98ff4ae5..73561e4b64f 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2009-11-09 Jan Kratochvil + + * bucomm.c (get_file_size): Update comment for the error return value. + 2009-11-08 John David Anglin * readelf.c (slurp_hppa_unwind_table): Don't relocate address twice. diff --git a/binutils/bucomm.c b/binutils/bucomm.c index e006e615bbc..64653d65a1e 100644 --- a/binutils/bucomm.c +++ b/binutils/bucomm.c @@ -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)