PERL problem (was Fw: cvsmerge script)
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
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
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.
----- Original Message -----
From: "Henrik Nordstrom" <firstname.lastname@example.org>
To: "Robert Collins" <email@example.com>
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.
> Robert Collins wrote:
> > Henrik,
> > I think that your cvsmerge script tries to replace files before they
> > 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
> > you.
> > Rob
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org
More information about the Cygwin