fix comments
[unix-history] / usr / src / usr.bin / ranlib / ranlib.c
index 3ee68a9..ec310d6 100644 (file)
@@ -1,4 +1,4 @@
-static char sccsid[] = "@(#)ranlib.c 3.2 %G%";
+static char sccsid[] = "@(#)ranlib.c 4.3 %G%";
 /*
  * ranlib - create table of contents for archive; string table version
  */
 /*
  * ranlib - create table of contents for archive; string table version
  */
@@ -16,10 +16,10 @@ struct      exec    exp;
 FILE   *fi, *fo;
 long   off, oldoff;
 long   atol(), ftell();
 FILE   *fi, *fo;
 long   off, oldoff;
 long   atol(), ftell();
-#define TABSZ  2000
+#define TABSZ  5000
 struct ranlib tab[TABSZ];
 int    tnum;
 struct ranlib tab[TABSZ];
 int    tnum;
-#define        STRTABSZ        25000
+#define        STRTABSZ        75000
 char   tstrtab[STRTABSZ];
 int    tssiz;
 char   *strtab;
 char   tstrtab[STRTABSZ];
 int    tssiz;
 char   *strtab;
@@ -67,7 +67,7 @@ char **argv;
                                continue;
                        if (exp.a_syms == 0) {
                                fprintf(stderr, "ranlib: warning: %s(%s): no symbol table\n", *argv, archdr.ar_name);
                                continue;
                        if (exp.a_syms == 0) {
                                fprintf(stderr, "ranlib: warning: %s(%s): no symbol table\n", *argv, archdr.ar_name);
-                               exit(1);
+                               continue;
                        }
                        o = N_STROFF(exp) - sizeof (struct exec);
                        if (ftell(fi)+o+sizeof(ssiz) >= off) {
                        }
                        o = N_STROFF(exp) - sizeof (struct exec);
                        if (ftell(fi)+o+sizeof(ssiz) >= off) {