Fix commit
c01de193638c error. This in combination with the
vms_lib_bstat error led to an uninitialised stat buf st_size and
intermittent test failures.
* bfdio.c (bfd_get_file_size): Correct brace placement.
* vms-lib.c (vms_lib_bflush): Return -1.
&& memcmp (((struct ar_hdr *) adata->arch_header)->ar_fmag,
"Z\012", 2) == 0)
compression_p2 = 3;
- abfd = abfd->my_archive;
}
+ abfd = abfd->my_archive;
}
file_size = bfd_get_size (abfd) << compression_p2;
struct stat *sb ATTRIBUTE_UNUSED)
{
/* Not supported. */
- return 0;
+ return -1;
}
static void *