delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/08/29/02:02:40

From: walter DOT jenny AT gmsg DOT ch ("walter.jenny")
Subject: Startup of daemon process
29 Aug 1997 02:02:40 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <9708251048.AA17926.cygnus.gnu-win32@nxser>
Mime-Version: 1.0 (NeXT Mail 4.1mach v148)
X-Nextstep-Mailer: Mail 4.1mach (Enhance 2.0b6)
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Hi

whenn running a process as a daemon with fork() and setsid() the startup code in  
crt0 is not executed properly. A number of calls (getpwent(), gethostbyname()) fail  
after becoming a daemon since some internal data structures are not initialized.

Will this be fixed in b19?

Thanks
Walter Jenny
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019