delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/05/23:26:57

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 6 Sep 2005 13:25:41 +1000 (EST)
From: Luke Kendall <luke DOT kendall AT cisra DOT canon DOT com DOT au>
Subject: Odd transient error about __impure_ptr
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-Id: <20050906032541.553BB83C6F@pessard.research.canon.com.au>

On a freshly (re?)installed copy of Cygwin from September 2004, a weird
thing happened that I thought I'd mention.  We use Michael Wardle's
excellent shell.c program that queries the password file to find the
user's default shell, to start that (instead of running bash --login),
run from inside a .bat file with a shortcut on the desktop.

I *think* I may have compiled this with a later version of Cygwin.
Anyway, when we recently dusted off and installed the Sept '04 Cygwin,
trying to run shell.exe lead to a failure, with the message that
cygwin1.dll did not provide __impure_ptr.

So I recompiled it from the freshly-installed stable release.
It failed the same way.  Then I ran it from inside a Cygwin shell
(inside rxvt), and it worked!  I then changed the .bat file for the
shortcut back the way it had been, and it also worked!

Does that make sense to anyone?  It's no big deal, just something weird
that I thought someone more knowledgeable than I might understand.

luke




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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019