bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: hash.c.312: findnode:


From: Larry Jones
Subject: Re: hash.c.312: findnode:
Date: Sat, 25 Jan 2003 17:00:01 -0500 (EST)

Manu writes:
> 
> OTOH, I receive the same error message when trying to commit
> "lib/Makefile src/Makefile", despite the fact that original files no
> longer exist, and that new ones don't exist yet.
> 
> I think something wrong occurred with my repository, when
> I performed step (2).

I don't think there's anything wrong with your *repository*, especially
since you were able to do a new checkout without anything suspicious
happening.  I think what happened is that the CVS/Entries file in your
working directory had an entry for a file that no longer existed and
that was confusing things.

> Spying the client/server server/client exchanges could give good info.
> Maybe a few printf() added....

They're already there -- look for the CVS_CLIENT_LOG environment
variable in the manual.

> To "./configure && make" cvs-1.11.2 and 1.11.5 for MSYS, (a POSIX layer
> for W*n32) see the very little hack I had to do:
> 
> diff -rup -x *.o cvs-1.11.2-orig/lib/savecwd.c cvs-1.11.2-msys/lib/savecwd.c
> --- cvs-1.11.2-orig/lib/savecwd.c Mon Jul 10 20:45:04 2000
> +++ cvs-1.11.2-msys/lib/savecwd.c Fri Dec 20 00:21:22 2002
> @@ -57,7 +57,7 @@ save_cwd (cwd)
>  
>    if (have_working_fchdir)
>      {
> -#ifdef HAVE_FCHDIR
> +#if defined(HAVE_FCHDIR) && !defined(__MSYS__)
>        cwd->desc = open (".", O_RDONLY);
>        if (cwd->desc < 0)
>   {

What, exactly, was the problem you were having that prompted that
change?  While the above is a reasonable workaround, it is not the
correct solution to the problem.

-Larry Jones

In short, open revolt and exile is the only hope for change? -- Calvin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]