X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_XV,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20110302140857.8746705bfur7cwa1@messagerie.si.c-s.fr>
References: <20110302130651.17593ulkc6umco2j@messagerie.si.c-s.fr>	<20110302140857.8746705bfur7cwa1@messagerie.si.c-s.fr>
Date: Fri, 4 Mar 2011 05:09:53 +0000
Message-ID: <AANLkTi=duD4zd9wRNvOD0jER9Su7eDTu3=7S_LMHofLb@mail.gmail.com>
Subject: Re: winmm.dll error 487 is easily reproducible
From: Andy Koppe <andy.koppe@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 2 March 2011 13:08, EXCOFFIER Denis wrote:
> P.S.: By the way, what is the normal way to install snapshots? It is
> easy to replace cygwin1.dll (keeping around the working one), but in order
> to test the cygwin1 package in full (eg to check within stdio.h whether
> vsnprintf is included under __STRICT_ANSI__ or not)?

You should usually install the cygwin-inst-*.tar.bz2 tarball
containing all the relevant headers and tools along with the DLL.

There's a FAQ entry describing how to install it at
http://cygwin.com/faq-nochunks.html#faq.setup.snapshots.

The snapshots page could do with a link to that. However, due to
Cygwin 1.7's ability to overwrite in-use files, including the Cygwin
DLL itself, it's no longer necessary to exclude the DLL when
unpacking, i.e. I find the following works for me:

- Shut down all Cygwin processes, including background services.
- Open a Cygwin shell (with administrator rights if Cygwin was
installed as administrator).
- cd /
- tar xvf /path/to/cygwin-inst-*.tar.bz2
- Close shell.
- Start new shell. Use 'uname -a' to check that you're using the shiny
new snapshot.

Andy

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

