CVS transient failure

Zack Weinberg zack@wolery.cumb.org
Fri Jun 2 18:58:00 GMT 2000


CVS spat out the following:

Cannot open /sourceware/cvs-tmp/#gcc.lastdir.12290, 
	stopped at /usr/sourceware/bin/commit_prep line 76, <ENTRIES> chunk 2.
cvs server: Pre-commit check failed
Cannot open /sourceware/cvs-tmp/#gcc.lastdir.12290, 
	stopped at /usr/sourceware/bin/commit_prep line 76, <ENTRIES> chunk 2.
cvs server: Pre-commit check failed

I tried it again and it worked; the disk is not full and the directory
is writable, so I don't know what went wrong.  I note there are an
awful lot of stale files in that directory.

It would be nice if that script read

    open(FILE, ">$filename") || die("Cannot open $filename: $!\n");

instead of

    open(FILE, ">$filename") || die("Cannot open $filename, stopped");

-- then you'd be told the actual error return from open(2) and have a
chance of figuring out what happened.

zw


More information about the Overseers mailing list