delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/11/06/18:17:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <010a01c04848$40b1e760$f7c723cb@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <cygwin AT sources DOT redhat DOT com>
Subject: PERL problem (was Fw: cvsmerge script)
Date: Tue, 7 Nov 2000 10:21:10 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.3018.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300
X-OriginalArrivalTime: 06 Nov 2000 23:13:41.0537 (UTC) FILETIME=[33CDB110:01C04847]

This is probably off-list :-]

I am running perl 5.6.0, on cygwin 1.1.5-4.
==
$ perl -v

This is perl, v5.6.0 built for cygwin
==

There is a script I use on un*x that does in place edits - and it fails
badly on for me on cygwin. It ends up with a deleted file. I'm not sure if
this is a cygwin filesystem issue (can't delete a in-use file) or a perl
issue...

I'm a) interested if anyone knows if the -i option referenced in the copied
mail below should work, or if I'm just telling everyone what they know
already :-]

Should this be a new problem, I don't expect it looked at just-for-me! If
and when I get time I'll dig into it, and if anyone does want to look at it
I'll happy send straces etc.

Rob


----- Original Message -----
From: "Henrik Nordstrom" <hno AT hem DOT passagen DOT se>
To: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
Cc: <squid-dev AT squid-cache DOT org>
Sent: Tuesday, November 07, 2000 8:27 AM
Subject: Re: cvsmerge script


> Thats a perl "inplace edit" (the -i option). So it seems your perl is
> not build to properly support cygwin..
>
> I do not plan on changing the scripts to use anything else than perl
> inplace edit to clean up the files. It is way too handy.
>
> /Henrik
>
> Robert Collins wrote:
> >
> > Henrik,
> >     I think that your cvsmerge script tries to replace files before they
are
> > deleted? Anyway it fails badly on cygwin
> > ====
> > # Prune out RCS keywords...
> > Can't do inplace edit on ./include/hash.h: Permission denied.
> > Can't do inplace edit on ./include/util.h: Permission denied.
> > Can't do inplace edit on ./lib/hash.c: Permission denied.
> > Can't do inplace edit on ./lib/Makefile.in: Permission denied.
> > Can't do inplace edit on ./lib/rfc1035.c: Permission denied.
> > Can't do inplace edit on ./src/access_log.c: Permission denied.
> > ======
> >
> > Those files are then missing when the message
> > ===
> > WARNING: CONFLICTS!
> > Please correct the conflicts (see merge.log) and then exit from
> > this shell to have the changes committed
> > ===
> > occurs.
> >
> > I don't have time to fiddle with the script yet, this is just a heads-up
for
> > you.
> >
> > Rob
>
>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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