[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS pserver check client's "-d" argument on the server
From: |
Florian Große-Coosmann |
Subject: |
CVS pserver check client's "-d" argument on the server |
Date: |
Sun, 28 Sep 2003 09:02:26 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; de-AT; rv:1.4) Gecko/20030624 |
This bug doesn't happen with CVS 1.11.1p1. I tested
it with 1.11.5, 1.11.6, 1.12.1. These versions fail.
I use an inetd driven pserver. The server has a module
called "hs". I use the following extraction command:
cvs -d :pserver:localhost:/usr/local/cvsroot/hs -q checkout -d 10/src -r HEAD hs
The client hosts may vary without a change in response.
Doing a "-d src" will work, but the above call produces:
cvs [server aborted]: could not change directory to requested checkout
directory `10': No such file or directory
The "-d" documentation says the flag is equivalent to
"cd dir; cvs ..." but that's not true. It is complete
nonsense to execute a directory check on the server.
I tracked down the stuff a little bit. The routine
safe_location() in checkout.c doesn the first error return.
Fixing it leads to another error at a different place.
So I rejected my changes and hope for a fix by the
maintainers.
Cheers, Florian
- CVS pserver check client's "-d" argument on the server,
Florian Große-Coosmann <=