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