Make Cygwin damons easier to use on Win9x.

Kazuhiro Fujieda
Wed Jun 27 04:17:00 GMT 2001

>>> On Wed, 27 Jun 2001 01:21:07 -0400
>>> Christopher Faylor <> said:

> I don't think that there is any simple heuristic for doing this but
> I suppose that if you walk the fd table and find no open console handles
> that it would be safe to detach the console after a setsid().

I tried writing such code, but it made sshd unable to detach the
console. Sshd call setsid() before closing the tty. I will try
to find out another way, sigh...
  | AIST      Kazuhiro Fujieda <>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology

More information about the Cygwin-patches mailing list