Jean-Marc Lasgouttes wrote:

> >>>>> "Wolfgang" == Wolfgang Cohrs <[EMAIL PROTECTED]> writes:
>
> Wolfgang> Hi, i have get lyx 1.0.0pre4 and now have have this error
> [...]
>
> Hi,
>
> Try the following patch to src/lyxserver.C.
>
> JMarc
>
> -------------------------------------------------------------------------
> Index: src/lyxserver.C
> ===================================================================
> RCS file: /usr/local/lyxsrc/cvsroot/lyx-1_0_x/src/lyxserver.C,v
> retrieving revision 1.2
> diff -u -r1.2 lyxserver.C
> --- lyxserver.C 1998/11/13 09:42:03     1.2
> +++ lyxserver.C 1998/11/27 09:04:47
> @@ -292,7 +292,9 @@
>         static LString lsbuf;
>
>         errno = 0;
> -       while(int status = read(fd,charbuf,CMDBUFLEN-1))
> +       int status;
> +       // the single = is intended here.
> +       while((status = read(fd,charbuf,CMDBUFLEN-1)))
>         {// break and return in loop
>                 if(status > 0) // got something
>                 {
>
> --
>                 +++ the lyx project user mailing list +++
>                 To unsubscribe from this list send mail to
>                          [EMAIL PROTECTED]
>                     with the **Subject** unsubscribe.

Hi  Jean,
thankyou for your support.
now lyx works fine.

Wolfgang

--
Wolfgang Cohrs Alfred-Wegener-Institut fuer Polar- und Meeresforschung
Postfach 120161 D 27515 Bremerhaven
mailto:[EMAIL PROTECTED]
http://www.awi-bremerhaven.de



-- 
                +++ the lyx project user mailing list +++
                To unsubscribe from this list send mail to 
                         [EMAIL PROTECTED]
                    with the **Subject** unsubscribe.

Reply via email to