* Makefile.in: Bump to version 1.97.
authorPer Bothner <per@bothner.com>
Tue, 5 May 1992 19:02:24 +0000 (19:02 +0000)
committerPer Bothner <per@bothner.com>
Tue, 5 May 1992 19:02:24 +0000 (19:02 +0000)
* ar.c:  Declare errno for machines that need it.

binutils/ChangeLog
binutils/Makefile.in
binutils/ar.c

index 335aed1c1d8ca0079a7fc66e1379babd72c86740..e33afa826f73e501435068bed3f57c920fcf6cf7 100644 (file)
@@ -1,3 +1,8 @@
+Tue May  5 12:00:58 1992  Per Bothner  (bothner@rtl.cygnus.com)
+
+       * Makefile.in:  Bump to version 1.97.
+       * ar.c:  Declare errno for machines that need it.
+
 Mon May  4 23:29:51 1992  John Gilmore  (gnu@cygnus.com)
 
        * objdump.c (display_info):  Handle error cases without coredump.
index 1695938de831b2c18de578f428a7671d04b6c534..8ec1d354e18724855aa54b4216633620a640d7b4 100644 (file)
@@ -61,7 +61,7 @@ BISONFLAGS = -tvd
 TEXI2ROFF=texi2roff
 
 # Distribution version
-VERSION=1.96
+VERSION=1.97
 # Distribution name
 DIST_NAME=binutils-${VERSION}
 
index 244a15a1bd300778117b4754f3b85b9ffdb910eb..d881f4f12b9a04adb42033a511eb2d8d7c44ac9d 100644 (file)
@@ -37,9 +37,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include <sys/time.h>
 #endif
 #include <errno.h>
+#ifndef errno
+extern int errno;
+#endif
 #define BUFSIZE 8192
 
-void EXFUN(open_inarch,(char *archive_filename));
+
 
 
 PROTO(void, print_contents, (bfd * member));
@@ -391,7 +394,7 @@ char *file;
     return filename;
 }
 
- void
+int 
 open_inarch(archive_filename)
     char           *archive_filename;
 {
@@ -406,7 +409,7 @@ open_inarch(archive_filename)
          fprintf (stderr, "%s: %s not found.\n", program_name,
                   archive_filename);
          maybequit();
-         return ;
+         return 0;
        }       
        if (!silent_create)
            fprintf(stderr,
@@ -446,6 +449,7 @@ open_inarch(archive_filename)
        if (bfd_error != no_more_archived_files)
            goto bloser;
     }
+return 1;
 }