This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: perl-5.8.0-2 CYGWIN1.DLL:setlinebuf failure


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]