| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| Sender: | cygwin-apps-owner AT sourceware DOT cygnus DOT com |
| List-Subscribe: | <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin-apps/> |
| List-Post: | <mailto:cygwin-apps AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs> |
| Delivered-To: | mailing list cygwin-apps AT sources DOT redhat DOT com |
| Date: | Fri, 26 Oct 2001 23:33:33 +0200 |
| From: | Corinna Vinschen <cygwin-apps AT cygwin DOT com> |
| To: | cygwin-apps AT cygwin DOT com |
| Subject: | Re: change default behavior of 'read' builtin in ash |
| Message-ID: | <20011026233333.I7622@cygbert.vinschen.de> |
| Mail-Followup-To: | cygwin-apps AT cygwin DOT com |
| References: | <2180829368 DOT 20011026164918 AT logos-m DOT ru> |
| Mime-Version: | 1.0 |
| User-Agent: | Mutt/1.2.5i |
| In-Reply-To: | <2180829368.20011026164918@logos-m.ru>; from deo@logos-m.ru on Fri, Oct 26, 2001 at 04:49:18PM +0400 |
On Fri, Oct 26, 2001 at 04:49:18PM +0400, egor duda wrote:
> Hi!
>
> currently 'read' builtin in ash requires -e option to make it treat
> backslashes as escapes. current BSD ash and SUSv2 do this by default
> and use -r option to turn this special treatment off. patch attached.
>
> after this patch, libiberty testsuite passes all test on cygwin :)
There's a problem with that patch. At one point it removes the
`#ifndef SMALL' while at another important point it leaves the
original SMALL handling in the code:
#ifdef SMALL
nextopt("");
#else
while ((i = nextopt("erp:t:")) != '\0') {
[...]
Did you compile ash w/o -DSMALL for Cygwin? The Cygwin version is
compiled that way.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |