delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/05/12:28:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <9B501B3774931C469BCCCC021BE5372277AD54@remailnt2-re01.westat.com>
From: Francis Harvey <HARVEYF1 AT WESTAT DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Install 1.3.22-1 problem - default text file type - DOS
Date: Tue, 5 Aug 2003 12:28:13 -0400
MIME-Version: 1.0

Greetings,

When installing 1.3.22-1 on XP, I select DOS as the default text file
type.  Unfortunately, the packages I use, flex and gcc, don't appear
to correspond to this setting.  For gcc, I wrote this program:

#include <stdio.h>
int main() {
char *token;
token = "\n";
printf("token[0] = %d; token[1] = %d\n",token[0],token[1]);
return 0;
}

which gives me 10 and 0 when I expected 13 and 10.  Also, in flex,
all of my patterns were broken until I substituted the octal values
\015 and \012 for \n.  Since this appears in more than one package
and my previous version of Cygwin, 1.1.7, worked correctly with
older versions of these packages, I believe there may been an
installation problem with this latest version, but I don't know how
to test this, let alone fix it.  I am thinking of trying my old
installation on the XP to see if that will fix the problems I am
having with the newer versions.  I welcome any suggestions.  TIA. 

Francis R. Harvey III
WB303, x3952
harveyf1 AT westat DOT com

VB programmers know the wisdom of Nothing

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019