[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev mp3 and local files problem
From: |
Doug Kaufman |
Subject: |
Re: lynx-dev mp3 and local files problem |
Date: |
Sat, 11 Aug 2001 20:48:29 -0700 (PDT) |
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"?
Doug
__
Doug Kaufman
Internet: address@hidden
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden