This is the mail archive of the 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: Install 1.3.22-1 problem - default text file type - DOS


I wanted to correct something from my last request.  The pointer yyin
is actually from the flex package not byacc, and I ended up using:

setmode(yyin, "rt");

to reset yyin as well modifying all of my fopen statements to use text
mode.  I have returned all of my strings and rules to using just \n
instead of \r\n.  Hopefully, I finally have a correct method for using
these packages.  Thanks to everyone for their help.

Francis R. Harvey III
WB303, x3952

VB programmers know the wisdom of Nothing

> -----Original Message-----
> From: Christopher Faylor [] 
> Sent: Wednesday, August 06, 2003 1:37 PM
> To:
> Subject: Re: Install 1.3.22-1 problem - default text file type - DOS
> On Wed, Aug 06, 2003 at 01:23:47PM -0400, Francis Harvey wrote:
> >Greetings,
> >
> >I realize most people may not be familiar with the byacc package, but
> >it can't hurt to ask.  I would like to alter the behavior of byacc to
> >make the file pointer yyin use this "text" mode by default.
> setmode (fileno (yyin), O_TEXT);
> --

Unsubscribe info:
Problem reports:

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