delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/03/21:40:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 3 Apr 2003 21:40:09 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Greg Matheson <lang AT ms DOT chinmin DOT edu DOT tw>
cc: cygwin AT cygwin DOT com
Subject: Re: perl-5.8.0-2 CYGWIN1.DLL:setlinebuf failure
In-Reply-To: <20030404091224.A29059@ms>
Message-ID: <Pine.GSO.4.44.0304032135240.21921-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Fri, 4 Apr 2003, Greg Matheson wrote:

> On Fri, 04 Apr 2003, Max Bowsher wrote:
>
> > Greg Matheson wrote:
> > > I installed the new perl-5.8.0-2, but
>
> > > This is with cygwin-1.3.22-1 and earlier versions.
> >                ^^^^^^^^^^^^^^^
>
> > No, this version contains setlinebuf. You either have an old cygwin1.dll in
> > the PATH, or you haven't rebooted when instructed to replace in-use files.
>
> Uh, I didn't even close down my bash shell windows. I didn't see
> any message about rebooting.

Of course cygwin1.dll was in use then.

> But rebooting solved the problem. I guess you can't get away from
> the fact it is a Windows application :-)
> [snip]

Yes, you can.  If there were sufficient drive for it, it's possible to
introduce a loop in setup's code that would notify you of files that are
in use, wait for you to close the relevant applications (with a bit of
process walking, you could even get the list of those), and then attempt
to replace the files again, all without rebooting.  It was instead decided
to use the existing facility provided by Windows to replace the files on
reboot.  <http://cygwin.com/acronyms/#PTC>.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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