diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-08-12 04:42:37 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-08-12 04:42:37 -0700 |
commit | 3aade68889268c7d15e121d6d63cb1b753ec12fa (patch) | |
tree | 9fe7a6ce752b4a79bbdaa9bed60c5044c2a3f80c /binutils/bucomm.c | |
parent | Remove trailing spaces in gas (diff) | |
download | binutils-gdb-3aade68889268c7d15e121d6d63cb1b753ec12fa.tar.gz binutils-gdb-3aade68889268c7d15e121d6d63cb1b753ec12fa.tar.bz2 binutils-gdb-3aade68889268c7d15e121d6d63cb1b753ec12fa.zip |
Remove trailing spaces in binutils
Diffstat (limited to 'binutils/bucomm.c')
-rw-r--r-- | binutils/bucomm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/binutils/bucomm.c b/binutils/bucomm.c index 06fbc462e24..4621e601baf 100644 --- a/binutils/bucomm.c +++ b/binutils/bucomm.c @@ -86,7 +86,7 @@ bfd_nonfatal_message (const char *filename, section_name = NULL; va_start (args, format); fprintf (stderr, "%s", program_name); - + if (abfd) { if (!filename) @@ -574,7 +574,7 @@ off_t get_file_size (const char * file_name) { struct stat statbuf; - + if (stat (file_name, &statbuf) < 0) { if (errno == ENOENT) @@ -582,7 +582,7 @@ get_file_size (const char * file_name) else non_fatal (_("Warning: could not locate '%s'. reason: %s"), file_name, strerror (errno)); - } + } else if (! S_ISREG (statbuf.st_mode)) non_fatal (_("Warning: '%s' is not an ordinary file"), file_name); else if (statbuf.st_size < 0) @@ -604,7 +604,7 @@ bfd_get_archive_filename (const bfd *abfd) size_t needed; assert (abfd != NULL); - + if (!abfd->my_archive) return bfd_get_filename (abfd); |