delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/26/09:32:47

X-Spam-Check-By: sourceware.org
Date: Sun, 26 Mar 2006 16:32:35 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: service interact with desktop broken between: 1.5.5 & 1.5.19
Message-ID: <20060326143235.GW10301@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <007e01c64de2$c95200a0$b3db87d4 AT multiplay DOT co DOT uk> <01ff01c64f42$079578f0$b3db87d4 AT multiplay DOT co DOT uk> <ba40711f0603250937u7b707c05ke60f42f09459b685 AT mail DOT gmail DOT com> <ba40711f0603251053i36715466nf8ae53ec11ac2096 AT mail DOT gmail DOT com>
Mime-Version: 1.0
In-Reply-To: <ba40711f0603251053i36715466nf8ae53ec11ac2096@mail.gmail.com>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Mar 25 13:53, Lev Bishop wrote:
> Another bug in cygrunsrv.cc:main() (again not the reason for this problem)
> 
> --- cygrunsrv.cc.old    2006-03-25 13:49:08.238075200 -0500
> +++ cygrunsrv.cc        2006-03-25 13:50:35.473513600 -0500
> @@ -1930,14 +1930,14 @@
>        case '1':
>         if (action != Install)
>           return error (IONotAllowed);
> -       if (in_stdin)
> +       if (in_stdout)
>           return error (OnlyOneIO);
>         in_stdout = optarg;
>         break;
>        case '2':
>         if (action != Install)
>           return error (IONotAllowed);
> -       if (in_stdin)
> +       if (in_stderr)
>           return error (OnlyOneIO);
>         in_stderr = optarg;
>         break;
> 
> On 3/25/06, Lev Bishop wrote:
> > Can't tell you why this isn't working for you (I wasn't able to make
> > it work either). But looking at the cygrunsrv sources I noticed
> > something else that doesn't look quite right:
> >
> > In cygrunsrv.cc:print_service():
> >      if (interact)
> >        strcat (tmp, "--nohide ");
> >
> > I assume what is intended is:
> >      if (interact && showc)
> >        strcat (tmp, "--nohide ");

Thanks Lev, I've integrated this into the new 1.13-1 version of
cygrunsrv which I just uploaded to cygwin.com.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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