[1392] in Moira

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

zephyr.gen shouldn't coredump

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Sun Mar 5 02:27:22 2000

Message-Id: <200003050727.CAA12816@x15-cruise-basselope.mit.edu>
To: moiradev@MIT.EDU
Date: Sun, 05 Mar 2000 02:27:19 -0500
From: Garry Zacheiss <zacheiss@MIT.EDU>

	This fixes the problem that caused zephyr.gen to coredump
earlier this evening.  The problem was dbck eating the string
*.*@ATHENA.MIT.EDU from the strings table; dbck will need to be fixed to
know about the zephyr table.

Index: genacl.pc
===================================================================
RCS file: /afs/athena.mit.edu/astaff/project/moiradev/repository//moira/gen/genacl.pc,v
retrieving revision 1.1
diff -c -r1.1 genacl.pc
*** genacl.pc	2000/01/06 21:13:51	1.1
--- genacl.pc	2000/03/05 07:14:53
***************
*** 47,53 ****
    sq = get_acl(type, id, NULL);
    while (sq_remove_data(sq, &m))
      {
!       if (m->type != 'S')
  	{
  	  canon_krb(m, vers, kbuf, sizeof(kbuf));
  	  fprintf(out, "%s\n", kbuf);
--- 47,53 ----
    sq = get_acl(type, id, NULL);
    while (sq_remove_data(sq, &m))
      {
!       if (m->type != 'S' && m->name != NULL)
  	{
  	  canon_krb(m, vers, kbuf, sizeof(kbuf));
  	  fprintf(out, "%s\n", kbuf);

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