Hi,

Maybe it's a known bug, but I'm new with CVS and I found it when
using it with OS "Windows 2000" (problem of "bad file descriptor"
concerning lock files).

The bug appears in file : Wincvs\cvsgui\cvs-1.10\src\rcs.c in
function : "static FILE * rcs_internal_lockfile (rcsfile) char
*rcsfile;"

To solve it, replace  

        rcs_lockfd = CVS_OPEN(rcs_lockfile,
                       OPEN_BINARY | O_WRONLY | O_CREAT | O_EXCL | O_TRUNC,
                       S_IRUSR | S_IRGRP | S_IROTH);

with :

 rcs_lockfd = CVS_OPEN(rcs_lockfile,
                       OPEN_BINARY | O_WRONLY | O_CREAT | O_EXCL | O_TRUNC,
                       0666);

(or with any rights that enable to write in the lock file)

Hope that Helps.
-- 
Emmanuel GUY                       THALES-ISR
[EMAIL PROTECTED]    66-68 avenue Pierre Brossolette
Tel : 01.41.48.01.55               92240 Malakoff - FRANCE

_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs

Reply via email to