This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: service interact with desktop broken between: 1.5.5 & 1.5.19


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]