Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3C5ABE73.3090206@ece.gatech.edu> Date: Fri, 01 Feb 2002 11:12:35 -0500 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: Godefroid Chapelle CC: cygwin AT cygwin DOT com Subject: Re: problems with gdbm ???? References: <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20020201112544 DOT 00a9e4c8 AT pop DOT swing DOT be> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Okay, it looks like we have confirmation that gdbm is not fully ported w.r.t. text/binary issues. (Its inclusion in the official distribution predated the *requirement* that this be completed -- at the time it was only a suggestion). So, I hereby solicit patches that change open(...., "r") to open(...., "rb") open(...., "w") to open(...., "wb") etc. and fopen(...., FLAGS) to fopen(...., FLAGS | O_BINARY) at all **appropriate** places in the gdbm code. Thanks, Chuck volunteer gdbm maintainer for cygwin. Godefroid Chapelle wrote: > >> At 13:24 30/01/2002, Jason Tishler wrote: >> >>> Godefroid, >>> >>> On Tue, Jan 29, 2002 at 09:29:17AM +0100, Godefroid Chapelle wrote: >>> > >When trying the test_gdbm.py of Python 2.2, I get a >>> > > >>> > >gdbm fatal: read error >>> > > >>> > >message. >>> > > >>> > >Can someone point me a resource which could help me ? >>> >>> Sorry, but the following may not be of much help... >>> >>> Since I'm the Cygwin Python maintainer, I frequently run the regression >>> test suite. I have never had a test_gdbm failure. Possibly this is >>> because I run exclusively with binary mode mounts, NT/2000, NTFS, and >>> ntsec. What is your setup? >> >> >> >> /, /usr/bin and /usr/lib were previously mounted as text (I did not >> know anything of binary versus text). >> >> I am now able to run testgdbm.exe which is supplied with the gdbm c >> package. >> As I stated on cygwin list, I previously got CPU load more than 95% >> when trying this test. >> >> test_gdbm.py is also working now... >> >> >> >> Thanks a lot. !!!! > > > > > > >>> HTH, >>> Jason >> > > -- > > Godefroid Chapelle > > BubbleNet sprl > rue Victor Horta, 18 / 202 > 1348 Louvain-la-Neuve > Belgium > > Tel + 32 (10) 459901 > Mob + 32 (477) 363942 > > TVA 467 093 008 > RC Niv 49849 > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/