[5454] in Athena Bugs

home help back first fref pref prev next nref lref last post

/bin/athena/attach

daemon@ATHENA.MIT.EDU (David Krikorian)
Mon Jul 9 11:33:46 1990

Date: Mon, 9 Jul 90 10:57:17 -0400
From: David Krikorian <dkk@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
Reply-To: dkk@mit.edu


Context: VAX and RT, version 7.0F

What happens:

  athena% attach
  Badly formatted entry in /usr/tmp/attachtab
  athena% grep attachtab /etc/attach.conf
  attachtab               /etc/attachtab


What's wrong:

  The attachtab isn't in /usr/tmp; it's in /etc.

What should happen:

  Error messages should refer to the value of attachtab as set in
  /etc/attach.conf (default /usr/tmp/attachtab), rather than always
  referring to the default.

What needs to change:

  The constant ATTACHTAB (the default value of attachtab_fn) is used
  in three places where attachtab_fn should be used instead.  Two of
  them are in attachtab.c and one is in util.c.  These should be
  updated: 

tisiphone% grep -n " ATTACHTAB" /source/athena/bin.athena/attach/*.c
attachtab.c:216:  fprintf(stderr, "Bad version number in %s\n", ATTACHTAB);
attachtab.c:303:  fprintf(stderr,"Badly formatted entry in %s\n", ATTACHTAB);
util.c:442:       fprintf(stderr,"Can't open %s: %s\n", ATTACHTAB,


home help back first fref pref prev next nref lref last post