lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev dev.23: extended INCLUDE syntax broken for DOSPATH


From: Vlad Harchev
Subject: Re: lynx-dev dev.23: extended INCLUDE syntax broken for DOSPATH
Date: Thu, 29 Apr 1999 02:35:35 +0500 (SAMST)

On Wed, 28 Apr 1999, Doug Kaufman wrote:

> On Wed, 28 Apr 1999, Vlad Harchev wrote:
> 
> >  This patch also implements the following separators:
> >  ':' and ' for ' on unix
> >  ' for ' on other OSes.
> > ...  
> > +#ifdef unix
> > +           || (p1 = strstr(value, sep=":"))!=0
> > +#endif         
> > +       ) {
> > +           *p1 = '\0';
> > +           p1+=strlen(sep);
> > +       };  
> > +#endif             
> > +           
> 
> If you expect this to not have the separator ":" on DOS, this won't
> work, since DJGPP defines unix and __unix__. You will have to make that
> "# if defined(unix) && !defined(__DJGPP__)" if you want it to do what I
> think you do. I don't know about other compilers, but I suspect that the
> CYGWIN compiler for Windows probably does the same, so you might need to
> add "&& !defined(_WINDOWS)"
>   
>[...] 
 
  You are right. This preprocessor conditional should be fixed.

 Best regards,
  -Vlad


reply via email to

[Prev in Thread] Current Thread [Next in Thread]