PERL problem (was Fw: cvsmerge script)

Robert Collins robert.collins@itdomain.com.au
Mon Nov 6 15:16:00 GMT 2000


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@hem.passagen.se>
To: "Robert Collins" <robert.collins@itdomain.com.au>
Cc: <squid-dev@squid-cache.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@sourceware.cygnus.com



More information about the Cygwin mailing list