delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/02/12:20:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: <johny AT heuristics DOT com DOT au>
From: "John Ypsilantis" <johny AT heuristics DOT com DOT au>
To: <cygwin AT cygwin DOT com>
Subject: RE: Shmget() fails when run within a program that is started by inetd. Has anyone else encountered this?
Date: Sun, 3 Jul 2005 02:20:31 +1000
Message-ID: <000001c57f21$f7ca5d50$1100a8c0@delfin>
MIME-Version: 1.0
In-Reply-To: <Pine.GSO.4.61.0507021111480.12049@slinky.cs.nyu.edu>

Hello Igor,

Thank you for your prompt reply.

For the tests, inetd was installed and run as a service and I had set
CYGWIN=server in the user shell. These are effective because the Cygwin
"telnet localhost" returns the very first text string before the
connection is lost.

I have just repeated the tests for Cygwin, this time defining
CYGWIN=server as a system-wide environment variable via XP's control
panel. The results are the same as in my previous message.

Best regards,

John


-----Original Message-----
From: Igor Pechtchanski [mailto:pechtcha AT cs DOT nyu DOT edu] 
Sent: Sunday, 3 July 2005 1:15 AM
To: John Ypsilantis
Cc: cygwin AT cygwin DOT com
Subject: Re: Shmget() fails when run within a program that is started by
inetd. Has anyone else encountered this?


On Sat, 2 Jul 2005, John Ypsilantis wrote:

> I have come across what may be a problem with the interaction of the 
> shared memory subsystem with networking code that is run up by inetd. 
> The following program runs to completion when started interactively 
> and under (x)inetd control for FC3. While it also runs to completion 
> when started interactively under Cygwin, it crashes silently within 
> the
> shmget() call when it is run up under inetd.
>
> The program should be run on a system with shared segment with key=1 
> absent.

How is inetd installed as service?  Does that service have CYGWIN=server
in its environment?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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