[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kadmind looses filedescriptors



Hi,

the kadmind from heimdal 0.3c looses filedescriptors if running standalone.
The following patch fixes this:

*** kadmin/kadm_conn.c.orig     Mon Nov  6 17:17:48 2000
--- kadmin/kadm_conn.c  Mon Nov  6 17:20:04 2000
***************
*** 157,162 ****
--- 157,164 ----
        if(s != STDIN_FILENO && s != STDOUT_FILENO)
            close(s);
        return 0;
+     } else {
+       close(s);
      }
      return 1;
  }


Cheers,
Karsten.