This is the mail archive of the cygwin@cygwin.com 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


Greetings,

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
harveyf1@westat.com

VB programmers know the wisdom of Nothing

> -----Original Message-----
> From: Christopher Faylor [mailto:cgf-idd@cygwin.com] 
> Sent: Wednesday, August 06, 2003 1:37 PM
> To: cygwin@cygwin.com
> 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);
> --
<snip>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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