[Top][All Lists]

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

Re: lynx-dev mp3 and local files problem

From: Thomas Dickey
Subject: Re: lynx-dev mp3 and local files problem
Date: Sun, 12 Aug 2001 09:39:19 -0400
User-agent: Mutt/1.2.5i

On Sat, Aug 11, 2001 at 08:48:29PM -0700, Doug Kaufman wrote:
> On Sat, 11 Aug 2001, Thomas Dickey wrote:
> > two places to look:
> > 
> >     a) see the SetOutputMode(), SetDefaultMode() macros in LYCurses.h, and 
> > how they're
> >        used (or not used in your case), and
> > 
> >     b) less likey, look at the mode (second parameter) of fopen.  Doug
> >        Kaufman made a comment to the effect that my having substituted "r"
> >        to TXT_R in some places would break things, since TXT_R when DOSPATH
> >        is defined is an explicit text-type rather than whatever the
> >        SetDefaultMode() macro leaves it as.  But the EMX build doesn't
> >        define DOSPATH (and SetDefaultMode() won't work there).
> I would also look in LYUtils.c. Look for the one instance of "setmode"
> there. This is set to O_BINARY for CYGWIN. Perhaps OS/2 needs it
> there, also. By the way, shouldn't we use the macro SetOutputMode
> there rather than "setmode"?

probably (the macro makes it simpler to ifdef and avoid overlooking this
sort of thing).

Thomas E. Dickey <address@hidden>

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

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