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

possible cvs bug (minor)



$ cvs --version

Concurrent Versions System (CVS) 1.10.5 (client/server)

Copyright (c) 1989-1998 Brian Berliner, david d `zoo' zuhn, 
                        Jeff Polk, and other authors

CVS may be copied only under the terms of the GNU General Public
License,
a copy of which can be found with the CVS distribution kit.

Specify the --help option for further information about CVS

$ cd /tmp              
$ cvs commit -f /tmp/j2
cvs commit: cannot open CVS/Entries for reading: No such file or
directory
cvs commit: nothing known about `/tmp/j2'
cvs [commit aborted]: correct above errors first!
$ touch j2
$ cvs commit -f /tmp/j2
cvs commit: cannot open CVS/Entries for reading: No such file or
directory
cvs commit: use `cvs add' to create an entry for /tmp/j2
cvs [commit aborted]: correct above errors first!
[gauthier at c55 /tmp]$ 


No core dump under RH Linux 6.0. I don't have a /tmp/j2 file in my
repository. It might make a difference.


joel at oarcorp.com wrote:
> 
> I tripped this accidentally but a core dump is always a bug. :)
> 
> I accidentally typed:  cvs commit -f /tmp/j2
> 
> instead of :           cvs commit -F /tmp/j2
> 
> And promptly got a core dump:
> 
> [joel at britain /tmp]$ cvs commit -f /tmp/j
> cvs commit: cannot open CVS/Entries for reading: No such file or directory
> Segmentation fault (core dumped)
> 
> Doing it the default way worked as expected.
> 
> [joel at britain /tmp]$ cvs commit
> cvs commit: in directory .:
> cvs [commit aborted]: there is no version here; run 'cvs checkout' first
> 
> I know some of you folks stay closer to the cutting edge than I do and
> wanted to get someone to doublecheck me with a newer version of cvs.
> 
> I am using the cvs-1.10.2-1 RPM.
> 
> If this bug is still present, then I need to report it.
> 
> --joel
> Joel Sherrill, Ph.D.             Director of Research & Development
> joel at OARcorp.com                 On-Line Applications Research
> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
>    Support Available             (256) 722-9985

-- 
Charles-Antoine Gauthier
Research Officer
Software Engineering Group
Institute for Information Technology
National Research Council of Canada
Ottawa, ON, Canada
K1A 0R6