/[gcl]/gcl/unixport/rsym_macosx.c
ViewVC logotype

Diff of /gcl/unixport/rsym_macosx.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by rlbk, Sun Oct 5 17:25:08 2003 UTC revision 1.4 by rlbk, Thu Nov 13 20:31:20 2003 UTC
# Line 100  void rsym_doit2 (struct nlist *symbols, Line 100  void rsym_doit2 (struct nlist *symbols,
100      }      }
101            
102      if (verbose) {      if (verbose) {
103          fprintf (stdout, "%d/%d symbol(s) reviewed\n", tab.n_symbols, nsyms);          fprintf (stdout, "%d/%ld symbol(s) reviewed\n", tab.n_symbols, nsyms);
104      }      }
105            
106      fseek (symout, 0, 0);      fseek (symout, 0, 0);
# Line 153  void rsym_doit1 (char *infile, char *out Line 153  void rsym_doit1 (char *infile, char *out
153          lc = (struct load_command *) ((char *) lc + lc->cmdsize);          lc = (struct load_command *) ((char *) lc + lc->cmdsize);
154      }      }
155            
156        if (!st) {
157            rsym_error ("no symbol table information");
158        }
159    
160      symtab = (struct nlist *) ((char *) addr + st->symoff);      symtab = (struct nlist *) ((char *) addr + st->symoff);
161            
162      s = sizeof(struct nlist) * st->nsyms;      s = sizeof(struct nlist) * st->nsyms;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26