Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 10 Aug 2000 23:59:01 +0400 From: Egor Duda X-Mailer: The Bat! (v1.41) Reply-To: Egor Duda Organization: DEO X-Priority: 3 (Normal) Message-ID: <1999.000810@logos-m.ru> To: Chris Faylor CC: cygwin AT sourceware DOT cygnus DOT com, Jason Tishler , "Charles S. Wilson" Subject: Re[2]: gdbm & cvs packages ready for official inclusion? In-reply-To: <20000810141348.A4458@cygnus.com> References: <20000810141348 DOT A4458 AT cygnus DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! Thursday, 10 August, 2000 Chris Faylor cgf AT cygnus DOT com wrote: [...] >> src/ignore.c:ignore_files() >> >>I can offer the following few more tidbits. We have from the original cvs >>1.10.8 source: >> >> void >> ignore_files (ilist, entries, update_dir, proc) >> { >> ... >> errno = 0; >> while ((dp = readdir (dirp)) != NULL) >> { >> ... >> } >> if (errno != 0) >> error (0, errno, "error reading current directory"); >> ... >> } >> >>So during a cvs update, some code executed during the while loop is setting >>errno to nonzero. By greping sys/errno.h, we get that "Function not >>implemented" maps to ENOSYS. >> >>Without using gdb, I can't offer any more. Shame on me, but I have never >>used gdb before -- although I have used many other debugger. Anyway, I'm >>willing to give gdb a whirl, but I believe that you could set up cvs in >>client/server mode much faster than I can get up to speed with gdb. >>Especially, if you have a UNIX/Linux box lying around with a cvs >>repository on it. CF> I looked at the sources and it looks like whomever wrote readdir made CF> some false assumptions about the values of errno. It looks like it will CF> always set errno when there are no more files. I'm testing a fix for CF> this now. this bug had been fixed in development version of cvs some time ago. instructions foe getting current sources of cvs can be found on http://www.cvshome.org/dev/index.html#current i'm intensively using it for almost half a year without any problems. Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com