home *** CD-ROM | disk | FTP | other *** search
- *** dbxread.old Sat May 5 15:44:39 1990
- --- dbxread.c Thu May 10 14:19:08 1990
- ***************
- *** 462,467 ****
- --- 462,470 ----
- /* Count symbols as they are processed, for error messages. */
-
- static int symnum;
- + #ifdef M_XENIX
- + static long lsym_count = 0;
- + #endif /* M_XENIX */
-
- /* Vector of types defined so far, indexed by their dbx type numbers.
- (In newer sun systems, dbx uses a pair of numbers in parens,
- ***************
- *** 1939,1945 ****
- {
- if (symbuf_idx == symbuf_end)
- fill_symbuf ();
- ! symnum++;
- return symbuf[symbuf_idx++].n_un.n_strx + stringtab_global;
- }
-
- --- 1942,1948 ----
- {
- if (symbuf_idx == symbuf_end)
- fill_symbuf ();
- ! symnum++; lsym_count--;
- return symbuf[symbuf_idx++].n_un.n_strx + stringtab_global;
- }
-
- ***************
- *** 2078,2084 ****
- #endif
-
- #ifdef M_XENIX
- - long lsym_count = 0;
- long flsym_count = 0;
- long file_string_base = 0;
- long stringtab_offset = 0;
- --- 2081,2086 ----
- ***************
- *** 2142,2147 ****
- --- 2144,2150 ----
- #ifdef M_XENIX
- init_fileinfo_processing(); /* start processing the list of files */
- nlistlen += 10; /* force the hack code to terminate the loop */
- + lsym_count = 0;
- #endif /* M_XENIX */
-
- for (symnum = 0; symnum < nlistlen; symnum++)
-