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/