This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: change default behavior of 'read' builtin in ash
- To: cygwin-apps at cygwin dot com
- Subject: Re: change default behavior of 'read' builtin in ash
- From: Corinna Vinschen <cygwin-apps at cygwin dot com>
- Date: Fri, 26 Oct 2001 23:33:33 +0200
- References: <2180829368.20011026164918@logos-m.ru>
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@cygwin.com
Red Hat, Inc.