Remove "fix" call for "long long" from ARI
[deliverable/binutils-gdb.git] / bfd / bfdwin.c
index 4103e9c2f55e3f489ef937caf30f896f93c9dbe7..00b3e70a2670ecd03aeaeb8d29340c0e5a81cfd2 100644 (file)
@@ -1,6 +1,5 @@
 /* Support for memory-mapped windows into a BFD.
-   Copyright 1995, 1996, 2001, 2002, 2003, 2005, 2007, 2008, 2009, 2011
-   Free Software Foundation, Inc.
+   Copyright (C) 1995-2019 Free Software Foundation, Inc.
    Written by Cygnus Support.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -145,7 +144,8 @@ bfd_get_file_window (bfd *abfd,
       int fd;
 
       /* Find the real file and the real offset into it.  */
-      while (abfd->my_archive != NULL)
+      while (abfd->my_archive != NULL
+            && !bfd_is_thin_archive (abfd->my_archive))
        {
          offset += abfd->origin;
          abfd = abfd->my_archive;
This page took 0.024214 seconds and 4 git commands to generate.