Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <39227338.534C5949@camline.com>
Date: Wed, 17 May 2000 12:23:52 +0200
From: Johannes =?iso-8859-1?Q?M=E4hner?= <johanm@camline.com>
Organization: camline
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: "'cygwin@sourceware.cygnus.com'" <cygwin@sourceware.cygnus.com>
Subject: SOLVED: zsh / cygwin 1.x / status access violation
Content-Type: multipart/mixed;
 boundary="------------E38EF736E45973A092B6F051"

--------------E38EF736E45973A092B6F051
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Geoff Wing from the zsh mailing list gave me 
the tip to undefine HAVE_MMAP in config.h of zsh.
The question if there is a bug in mmap of cygwin or not 
serves as food for our cygwin-gurus ;-)
--------------E38EF736E45973A092B6F051
Content-Type: message/rfc822
Content-Transfer-Encoding: 8bit
Content-Disposition: inline

Return-Path: <mason-return@primenet.com.au>
Delivered-To: camline.com-johanm@camline.com
Received: (qmail 22130 invoked from network); 17 May 2000 08:45:25 -0000
Received: from ns1.primenet.com.au (HELO primenet.com.au) (@203.24.36.2)
  by camlinux.camline.com with SMTP; 17 May 2000 08:45:25 -0000
Received: (qmail 243 invoked by uid 100); 17 May 2000 09:45:25 -0000
Date: Wed, 17 May 2000 19:45:24 +1000
From: Geoff Wing <gcw@zsh.org>
To: =?iso-8859-1?Q?Johannes_M=E4hner?= <johanm@camline.com>
Subject: Re: zsh 3.1.6/7 and cygwin 1.x
Message-ID: <20000517194524.A171@primenet.com.au>
References: <392171C0.FEFE03E@camline.com> <slrn8i2uh9.jvj.mason@coral.primenet.com.au> <392258F6.A83D26C7@camline.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.2i
In-Reply-To: <392258F6.A83D26C7@camline.com>; from johanm@camline.com on Wed, May 17, 2000 at 10:31:50AM +0200
Organization: PrimeNet Computer Consultancy
X-Mozilla-Status2: 00000000

Johannes Mähner wrote about Re: zsh 3.1.6/7 and cygwin 1.x:
:Geoff Wing wrote:
:> Oh, one thing I've just remembered.  I had to stop it from trying to
:> use mmap - I didn't know if it was specific to me or if it was more general.
:> Editing config.h and undefining HAVE_MMAP may fix your problem.
:
:!!!THAT'S IT!!!
:!!!!THANK YOU VERY MUCH!!!!
:If you don't mind, I will forward your email to the cygwin mailing list

That's fine.  I didn't investigate whether the mmap problem was specific
to zsh or if mmap is not fully supported under cygwin.

:BTW, how did you figure out that mmap could be the problem?
:(e.g. status access violation => denied memory access => 
:check out everything which is correlated to memory ;-)

Close to that :-)  Though I suspect I just ran it from gdb to find out
roughly whether the problem was - and I have the advantage of knowing
the internals of quite a bit of zsh fairly well.

Regards,
-- 
Geoff Wing : <gcw@pobox.com>     Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@rxvt.org>      Ego URL : http://pobox.com/~gcw/
Zsh Stuff  : <gcw@zsh.org>       Phone   : (Australia) 0413 431 874



--------------E38EF736E45973A092B6F051
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
--------------E38EF736E45973A092B6F051--

