summaryrefslogtreecommitdiff
path: root/ext/ODBM_File
Commit message (Collapse)AuthorAgeFilesLines
* [perl #71680] hints to use gdbm compat for [NO]DBM_File on Win32Tony Cook2013-07-011-0/+2
|
* Eliminate the fifth argument from GDBM_File::TIEHASH.Nicholas Clark2012-12-131-1/+0
| | | | | | | | | | | | | | | This was intended to provide control of the callback used by gdbm* functions in case of fatal errors (such as filesystem problems), but did not work (and could never have worked). No code on CPAN even attempted to use it. The callback is now always the previous default, croak. This eliminates the only used of 'FATALFUNC' in the *DBM modules' type files, so remove it from all of them. It also eliminates a cast from a data pointer to a function pointer, which is not legal C, and rightly upsets pedantic ANSI C compilers. The fact that there was exactly cast, and only in one direction, gives a clue as to how likely this was ever to work.
* Improve general GNU hints, needed for GNU/Hurd.Pino Toscano2011-10-311-0/+1
| | | | | | | | Bug-Debian: http://bugs.debian.org/636609 Patch-Name: fixes/hurd-hints.diff With minor modifications to add Pino to AUTHORS.
* ODBM_File can use the same T_PTROBJ typemap as the other ?DBM_File modules.Nicholas Clark2011-09-073-3/+5
| | | | | | | | This simplifies the RETVAL handling in TIEHASH, and makes the code closer to the other 3 ?DBM_File modules. The difference in TIEHASH handling dates back to 5.000, where only ODBM_File needed helper code around the dbm_open() call. The other 3 were able to #define it as dbm_TIEHASH, and hence had no CODE: section when first written.
* Add PERL_NO_GET_CONTEXT to ODBM_FileNicholas Clark2011-06-162-1/+3
| | | | | For threaded platforms, this reduces the object code size, and should slightly reduce CPU usage.
* Fix for [perl #90106] 5.14.0-RC2 ODBM_File failures on Ubuntu natty [multiarch]Vladimir Timofeev2011-05-181-3/+3
| | | | | Ubuntu has juggled lib paths so we get to play games to catch up with them.
* bump version of many modulesZefram2010-12-191-1/+1
| | | | | Core-only modules that have changed from v5.13.7, and dual-life modules that have changed from v5.13.7 and didn't show up in earlier passes.
* Move common code from ext/[GONS]DBM_File/t/[gons]dbm.t to t/lib/dbmt_common.plNicholas Clark2010-12-161-491/+2
| | | | This eliminates 1445 lines, ie almost 500 lines duplicated fourfold.
* Converge ext/[GNOS]DBM_File/t/[gnos]dbm.t by parameterising the class name.Nicholas Clark2010-12-161-22/+28
|
* Converge ext/[GNOS]DBM_File/t/[gnos]dbm.t further.Nicholas Clark2010-12-161-8/+5
| | | | | | | | | Including Cross propagating some fixes: grep in void context warning (f84167b37281b9fd c57cf257e9e58200), but improve it by avoiding void context entirely, by actually testing the results :-) "cleaner close on tests, take 2", d1e4d418969ad3c5
* Converge ext/[GNOS]DBM_File/t/[gnos]dbm.t by using the same filename.Nicholas Clark2010-12-161-27/+31
| | | | | | | | | Choose the 1 dot form used by sdbm.t, to keep VMS happy. Also, propagate into ndbm.t the part of the test for 20001013.009 that cbc5248d01a71061 missed. Move the exist tests from f4b9d8806d76b352 earlier in sdbm.t, to increase consistency - the alternative attempts to have 2 DBM files open simultaneously, which ODBM_File doesn't support. (Implied TODO: add an explicit test for this to the other 3.)
* Convert ext/ODBM_File/t/odbm.t to Test::More.Nicholas Clark2010-12-151-96/+91
|
* Remove redundant use strict,warnings,?DBM_File from ext/?DBM_File/t/?dbm.t.Nicholas Clark2010-12-151-18/+0
|
* Bump ODBM_File’s versionFather Chrysostomos2010-10-271-1/+1
|
* In [GNO]DBM_File.xs, store the 4 filter functions as 1 array in the struct.Nicholas Clark2010-10-212-44/+23
| | | | | | Previously they were 1 distinct members. Using an array allows the use of a in *_DESTROY, and merging of the 4 XS functions filter_{fetch,store}_{key,value} into 1 body with ALIASes.
* Convert [GNOS]DBM_File::TIEHASH to safecalloc() from safemalloc() then Zero().Nicholas Clark2010-10-211-2/+1
|
* [GNO]DBM_File must free any filter CVs in DESTROY.Nicholas Clark2010-10-211-0/+8
| | | | | | They have been leaking these since DBM filters were first added in 1999 by 9fe6733ac5627edd. DB_File and SDBM_File have always correctly freed their filters.
* Convert modules in ext/ to pass minimal arguments to XSLoader::load().Nicholas Clark2010-10-141-3/+3
|
* Make extensions in ext run their tests from the extension's own directory.Nicholas Clark2009-08-281-2/+0
| | | | | | | | | | | Inspired by, and in parts borrows from, Schwern's branch on github, but takes a slightly different approach in places. Not quite perfect yet - ext/File-Glob still runs from t, at least one FIXME needs fixing, and the changes to dual-life modules' tests need to be filtered back upstream, and possibly modified to suit their respective authors. But it works.
* Mark all .t and .pm files as non executableRafael Garcia-Suarez2009-06-061-0/+0
|
* Remove now-redundant references to MAN3PODS in core modules' Makefile.PLs.Nicholas Clark2009-03-261-1/+0
|
* Hateful software that sends my cursor keys as packets that can getNicholas Clark2007-12-221-1/+1
| | | | | | split, and more hateful software that decides that split packets means not-a-cursor-key. p4raw-id: //depot/perl@32706
* Exterminate PL_na! Exterminate! Exterminate! Exterminate!Nicholas Clark2007-12-221-7/+12
| | | p4raw-id: //depot/perl@32704
* Make the hint file work as well on 64-bit linuxes,Rafael Garcia-Suarez2007-12-171-1/+1
| | | | | noticed by Wolfgang Friebel p4raw-id: //depot/perl@32632
* -e is better than -f (in case of symbolic links)Rafael Garcia-Suarez2007-11-151-1/+1
| | | p4raw-id: //depot/perl@32322
* Adjust ODBM_File for Debian. See:David Cantrell2007-11-151-1/+7
| | | | | | Subject: Re: 5.10 build failure on Debian. Message-ID: <20071115001707.GA29642@bytemark.barnyard.co.uk> p4raw-id: //depot/perl@32321
* [perl #45093] Can't find ODBM library while compiling 5.9.5 Clinton Gormley2007-09-011-2/+1
| | | | | | From: Clinton Gormley (via RT) <perlbug-followup@perl.org> Message-ID: <rt-3.6.HEAD-10743-1188581353-593.45093-75-0@perl.org> p4raw-id: //depot/perl@31780
* do $file; won't propagate errors from die, as do is an implicit eval.Nicholas Clark2007-01-082-2/+2
| | | | | So need to propagate errors with $@. p4raw-id: //depot/perl@29723
* RE: g++ compile and make test 100%Robin Barker2006-10-121-1/+1
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <2C2E01334A940D4792B3E115F95B7226120A68@exchsvr1.npl.ad.local> p4raw-id: //depot/perl@29000
* Following Jarkko's advice, it seems that ODBM_File cannot beRafael Garcia-Suarez2006-08-251-9/+1
| | | | | compiled as C++ as-is. p4raw-id: //depot/perl@28757
* change 28744 broke ODBM_FileRobin Barker2006-08-241-2/+10
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <2C2E01334A940D4792B3E115F95B7226120A1A@exchsvr1.npl.ad.local> p4raw-id: //depot/perl@28754
* g++: fix Digest::MD5, Math::BigInt::FastCalc, ODBM_File, XS::APItest (and ↵Jarkko Hietaniemi2006-08-222-3/+3
| | | | | | | | | Time::HiRes 1.88 in CPAN) Message-Id: <200608220745.k7M7jfjP050939@kosh.hut.fi> ...plus various version bumps and Digest::MD5 test file fixes. p4raw-id: //depot/perl@28744
* Bump $VERSION in many modules that have changed.Nicholas Clark2006-01-121-1/+1
| | | p4raw-id: //depot/perl@26804
* Typos in *.p[lm]Piotr Fusik2005-08-021-1/+1
| | | | | | From: "Piotr Fusik" <pfusik@op.pl> Message-ID: <001401c595bd$dccb5d80$0bd34dd5@piec> p4raw-id: //depot/perl@25261
* Re: janitorial work ? [patch]Jim Cromie2005-07-081-1/+1
| | | | | | | | Message-ID: <42CC3CE9.5050606@divsol.com> (reverted all dual-lived modules since they must work with older perls too so must wait for a new Devel::PPPort) p4raw-id: //depot/perl@25101
* [perl #33998] [PATCH] Support for GNU/kFreeBSD Robert Millan2005-01-312-0/+2
| | | | | | From: "rmh@debian.org (via RT)" <perlbug-followup@perl.org> Message-ID: <rt-3.0.11-33998-106860.15.2609323921089@perl.org> p4raw-id: //depot/perl@23909
* Bump version numbers for modules that have changed since 5.8.3Nicholas Clark2004-04-041-1/+1
| | | p4raw-id: //depot/perl@22642
* Re: [perl #15063] /tmp issuesSolar Designer2004-02-011-1/+1
| | | | | | | Message-ID: <20040125222218.GA13499@openwall.com> Remove insecure usage of /tmp from code and documentation p4raw-id: //depot/perl@22258
* PATCH: *DB*_File Paul Marquess2003-12-271-3/+3
| | | | | | From: "Paul Marquess" <Paul.Marquess@btinternet.com> Message-ID: <AIEAJICLCBDNAAOLLOKLIEAOPGAA.Paul.Marquess@btinternet.com> p4raw-id: //depot/perl@21981
* XS contents changes versus VERSION non-changes.Jarkko Hietaniemi2003-08-141-1/+1
| | | p4raw-id: //depot/perl@20704
* maintperl & bleadperl for Cygwin: include libgdbm_compat & libcygipc in ↵Gerrit P. Haase2003-08-081-1/+1
| | | | | | | | searchlist From: "Gerrit P. Haase" <gp@familiehaase.de> Message-ID: <1621817486657.20030808134451@familiehaase.de> p4raw-id: //depot/perl@20563
* No more ext/*/*.t, move them all to ext/*/t.Jarkko Hietaniemi2003-07-281-0/+0
| | | p4raw-id: //depot/perl@20269
* Remove stale e-mail addressesAndy Dougherty2002-12-113-3/+3
| | | | | Message-ID: <Pine.SOL.4.10.10211200938110.19608-100000@maxwell.phys.lafayette.edu> p4raw-id: //depot/perl@18282
* Incorporate fix from JHI at:Abhijit Menon-Sen2002-08-231-5/+0
| | | | | http://rt.perl.org/rt2/Ticket/Display.html?id=16708 p4raw-id: //depot/perl@17761
* Fix DBM filtersPaul Marquess2002-08-223-29/+54
| | | | | | From: "Paul Marquess" <Paul.Marquess@btinternet.com> Message-ID: <AIEAJICLCBDNAAOLLOKLAEHCFEAA.Paul.Marquess@btinternet.com> p4raw-id: //depot/perl@17750
* SuSE 8.0 at least needs hints to use -lgdbm for ODBM_FileNick Ing-Simmons2002-07-091-0/+3
| | | p4raw-id: //depot/perlio@17431
* Integrate maintperl changes #12268 and #12669;Jarkko Hietaniemi2001-10-261-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | final touches to the audit for statics and thread-unsafe code * make DB_File, ODBM_File thread-safe * remove unnecessary/dangerous statics and protect others from not getting accidentally enabled under threaded perls windows support functions get_childdir() et al aren't exported correctly under vanilla build Testing under win32 appreciated since changes there had to be manually merged and I cannot test how badly did I do. p4raw-link: @12268 on //depot/perlio: bb407f0b8769c638c05e60ebfd157a1e676a6c22 p4raw-id: //depot/perl@12678 p4raw-integrated: from //depot/maint-5.6/perl@12677 'copy in' win32/vmem.h (@5902..) 'merge in' ext/DB_File/DB_File.xs (@8693..) win32/win32iop.h (@8917..) ext/ODBM_File/ODBM_File.xs (@8995..) iperlsys.h (@9154..) scope.c (@9584..) makedef.pl (@11425..) gv.c (@12026..) op.c (@12145..) util.c (@12220..) toke.c (@12550..) ext/B/B.xs ext/File/Glob/Glob.xs ext/Opcode/Opcode.xs ext/re/re.xs (@12653..) mg.c win32/win32.c (@12668..)
* Fix for FETCH/NEXTKEY problem in all *DB*_File modulesPaul Marquess2001-10-223-2/+58
| | | | | Message-ID: <AIEAJICLCBDNAAOLLOKLAEOMDCAA.paul.marquess@openwave.com> p4raw-id: //depot/perl@12564
* Misplaced test file; plus Cygwin filesystem semantics.Jarkko Hietaniemi2001-06-231-429/+0
| | | p4raw-id: //depot/perl@10866
* The Grand Trek: move the *.t files from t/ to lib/ and ext/.Jarkko Hietaniemi2001-06-182-0/+866
| | | | | | | | | | | | | | | | | | | | | | | | No doubt I made some mistakes like missed some files or misnamed some files. The naming rules were more or less: (1) if the module is from CPAN, follows its ways, be it t/*.t or test.pl. (2) otherwise if there are multiple tests for a module put them in a t/ (3) otherwise if there's only one test put it in Module.t (4) helper files go to module/ (locale, strict, warnings) (5) use longer filenames now that we can (but e.g. the compat-0.6.t and the Text::Balanced test files still were renamed to be more civil against the 8.3 people) installperl was updated appropriately not to install the *.t files or the help files from under lib. TODO: some helper files still remain under t/ that could follow their 'masters'. UPDATE: On second thoughts, why should they. They can continue to live under t/lib, and in fact the locale/strict/warnings helpers that were moved could be moved back. This way the amount of non-installable stuff under lib/ stays smaller. p4raw-id: //depot/perl@10676