projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make ANSI C compatible
[unix-history]
/
usr
/
src
/
old
/
adb
/
adb.vax
/
setup.c
diff --git
a/usr/src/old/adb/adb.vax/setup.c
b/usr/src/old/adb/adb.vax/setup.c
index
51f4aff
..
48a9746
100644
(file)
--- a/
usr/src/old/adb/adb.vax/setup.c
+++ b/
usr/src/old/adb/adb.vax/setup.c
@@
-1,4
+1,4
@@
-static char sccsid[] = "@(#)setup.c 4.1
0 (Berkeley) 85/05/09
";
+static char sccsid[] = "@(#)setup.c 4.1
1 (Berkeley) 87/12/21
";
/*
* adb - routines to read a.out+core at startup
*/
/*
* adb - routines to read a.out+core at startup
*/
@@
-71,7
+71,7
@@
setsym()
if (read(fsym, strtab + sizeof (ssiz), ssiz) != ssiz)
goto readerr;
for (sp = symtab; sp < esymtab; sp++)
if (read(fsym, strtab + sizeof (ssiz), ssiz) != ssiz)
goto readerr;
for (sp = symtab; sp < esymtab; sp++)
- if (sp->n_strx)
+ if (sp->n_
un.n_
strx)
/* SHOULD PERFORM RANGE CHECK HERE */
sp->n_un.n_name = strtab + sp->n_un.n_strx;
nosymt:
/* SHOULD PERFORM RANGE CHECK HERE */
sp->n_un.n_name = strtab + sp->n_un.n_strx;
nosymt: