home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / x / volume8 / xlogin / part01 / xdm.patch01 < prev    next >
Text File  |  1990-07-11  |  1KB  |  37 lines

  1. *** session.c.mit    Mon Feb 12 21:44:13 1990
  2. --- session.c    Thu Mar 15 10:55:13 1990
  3. ***************
  4. *** 112,122 ****
  5.       LoadXloginResources (d);
  6.       Debug ("name now %s\n", d->name);
  7.       dpy = InitGreet (d);
  8. -     if (d->authorization && d->authFile)
  9. -     {
  10. -     Debug ("Done with authorization file %s, removing\n", d->authFile);
  11. -     (void) unlink (d->authFile);
  12. -     }
  13.       for (;;) {
  14.       /*
  15.        * Greet user, requesting name/password
  16. --- 112,117 ----
  17. ***************
  18. *** 141,147 ****
  19. --- 136,152 ----
  20.       {
  21.       Debug ("Startup program %s exited with non-zero status\n",
  22.           d->startup);
  23. +       if (d->authorization && d->authFile)
  24. +       {
  25. +       Debug ("Done with authorization file %s, removing\n", d->authFile);
  26. +       (void) unlink (d->authFile);
  27. +       }
  28.       SessionExit (d, OBEYSESS_DISPLAY);
  29. +     }
  30. +     if (d->authorization && d->authFile)
  31. +     {
  32. +     Debug ("Done with authorization file %s, removing\n", d->authFile);
  33. +     (void) unlink (d->authFile);
  34.       }
  35.       clientPid = 0;
  36.       if (!setjmp (abortSession)) {
  37.