[2017] in testers
decmips 7.4E: attach
daemon@ATHENA.MIT.EDU (mhpower@Athena.MIT.EDU)
Thu Jun 4 19:30:11 1992
From: mhpower@Athena.MIT.EDU
To: testers@Athena.MIT.EDU
Date: Thu, 04 Jun 92 19:29:47 EDT
System name: podge
Type and version: KN01 7.4E (1 update(s) to same version)
Display type: PMAX-MFB
What were you trying to do?
See what portions of the attach source code depended on
ZEPHYR being defined.
What's wrong:
If ZEPHYR isn't defined, use_zephyr is not declared (e.g.,
in main.c), but it's still tested in the afs_attach function of
afs.c
What should have happened:
main.c should always declare use_zephyr:
*** main.c.old Thu Jun 4 19:08:13 1992
--- main.c Thu Jun 4 19:10:31 1992
***************
*** 32,37 ****
--- 32,39 ----
int force = 0;
#ifdef ZEPHYR
int use_zephyr = 1;
+ #else
+ int use_zephyr = 0;
#endif /* ZEPHYR */
char override_mode, *mount_options, *filsys_type;
char *mntpt;
Please describe any relevant documentation references:
attach(1)