bug-cvs
[Top][All Lists]
Advanced

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

Bug of WinCVS with Windows 2000


From: Guy Emmanuel
Subject: Bug of WinCVS with Windows 2000
Date: Mon, 02 Jul 2001 18:55:05 +0200

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
emmanuel.guy@fr.thalesgroup.com    66-68 avenue Pierre Brossolette
Tel : 01.41.48.01.55               92240 Malakoff - FRANCE



reply via email to

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