summaryrefslogtreecommitdiff
path: root/ext/NDBM_File
Commit message (Collapse)AuthorAgeFilesLines
* add gitignore exclusions for files in gitGraham Knop2020-11-231-0/+1
| | | | | | | | There are a number of files excluded using gitignore rules that are included in the repository. This can lead to confusion if something other than git tries to read the ignore files. Add rules to the gitignore files so that these files won't be ignored.
* (perl #132147) bump *DBM_File versionsTony Cook2018-11-051-1/+1
|
* (perl #132147) add security warnings to the *DBM_File modulesTony Cook2018-11-051-0/+17
|
* perl no longer builds on MacOS ClassicTom Hukins2017-10-121-1/+0
|
* NDBM: silence 'unused var' warnings x 2David Mitchell2014-12-191-0/+4
| | | | (I've done this blind because I don't have libndbm on my system)
* Increase $NDBM_File::VERSION to 1.14Father Chrysostomos2014-12-051-1/+1
|
* Unused var.Jarkko Hietaniemi2014-12-051-0/+2
|
* bump version on NDBM_FileDavid Mitchell2014-05-291-1/+1
|
* printf %s, cast appropriately.Jarkko Hietaniemi2014-05-291-1/+1
| | | | | | | | | [perl #121881] Fix for Coverity perl5 CID 29050: Printf arg type mismatch (PW.PRINTF_ARG_MISMATCH) printf_arg_mismatch: argument is incompatible with corresponding format string conversion
* [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.
* Add GNU/Hurd hints for NDBM_FilePino Toscano2011-11-041-0/+1
| | | | | | | | | | | | | | | currently, there are few tests failing because of a broken NDBM module; using the same hints as used on Linux (given that apparently the cause is the same) makes the following tests pass: t/op/dbm.t cpan/autodie/t/dbmopen.t cpan/Memoize/t/errors.t cpan/Memoize/t/tie_ndbm.t ext/NDBM_File/t/ndbm.t lib/AnyDBM_File.t Dominic Hargreaves adds: Note that the original git commit log [what you see above] lists some tests which aren't affected in blead.
* More version bumps in view of recent PERL_NO_GE_CONTEXT commitsFather Chrysostomos2011-03-191-1/+1
|
* Add PERL_NO_GET_CONTEXT to NDBM_FileNicholas Clark2011-03-191-0/+2
| | | | | For threaded platforms, this reduces the object code size, and should slightly reduce CPU usage.
* 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/+7
| | | | | | | | | 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/+35
| | | | | | | | | 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/NDBM_File/t/ndbm.t to Test::More.Nicholas Clark2010-12-151-95/+89
|
* Remove redundant use strict,warnings,?DBM_File from ext/?DBM_File/t/?dbm.t.Nicholas Clark2010-12-151-18/+0
|
* Bump NDBM_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-42/+22
| | | | | | 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.
* bump versions of non-dual-life modules thatDavid Mitchell2009-07-031-1/+1
| | | | | * differ between 5.10.0 and maint-5.10, or * differ between 5.8.9 and maint-5.10
* 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
|
* NDBM just isn't meant to be used with C++. So thisMarcus Holland-Moritz2008-11-061-3/+9
| | | | | | change makes the intro of NDBM_File.xs even uglier, but hopefully it also makes tests pass now. p4raw-id: //depot/perl@34757
* Add prototype detection for NDBM header filesMarcus Holland-Moritz2008-11-062-11/+12
| | | | | Message-ID: <20081103224011.26c223b3@r2d2> p4raw-id: //depot/perl@34756
* Re: [perl #50180] NDBM_File fails to build Andy Dougherty2008-05-171-0/+6
| | | | | Message-ID: <Pine.LNX.4.64.0805131224130.9728@fractal.phys.lafayette.edu> p4raw-id: //depot/perl@33845
* Exterminate PL_na! Exterminate! Exterminate! Exterminate!Nicholas Clark2007-12-221-5/+9
| | | p4raw-id: //depot/perl@32704
* 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-111-5/+5
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <2C2E01334A940D4792B3E115F95B7226120A65@exchsvr1.npl.ad.local> p4raw-id: //depot/perl@28997
* Fix typo in NDBM_File.xs and bump up the version number.Steve Peters2006-10-112-2/+2
| | | p4raw-id: //depot/perl@28996
* Make g++ happy when compiling NDBM_File on a system thatSteve Peters2006-10-092-0/+23
| | | | | | is likely using the GDBM compatibility headers that g++ (and other C++ implementations) cannot handle. p4raw-id: //depot/perl@28976
* 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
* Missing tie() call in NDBM_File SYNOPSISMatt Sergeant2005-07-151-4/+7
| | | | | Message-Id: <28baf339c3b78cc40017066b9dc7cffb@sergeant.org> p4raw-id: //depot/perl@25145
* [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
* Re: [PATCH] [perl #29612] ndbm failure in make testAlexey Tourbin2004-06-021-1/+3
| | | | | Message-ID: <20040521222222.GJ2030@solemn.turbinal.org> p4raw-id: //depot/perl@22892
* PATCH: *DB*_File Paul Marquess2003-12-271-2/+2
| | | | | | 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
* Incorporate fix from JHI at:Abhijit Menon-Sen2002-08-231-4/+0
| | | | | http://rt.perl.org/rt2/Ticket/Display.html?id=16708 p4raw-id: //depot/perl@17761
* Fix DBM filtersPaul Marquess2002-08-223-48/+53
| | | | | | From: "Paul Marquess" <Paul.Marquess@btinternet.com> Message-ID: <AIEAJICLCBDNAAOLLOKLAEHCFEAA.Paul.Marquess@btinternet.com> p4raw-id: //depot/perl@17750
* Fix for FETCH/NEXTKEY problem in all *DB*_File modulesPaul Marquess2001-10-222-2/+45
| | | | | Message-ID: <AIEAJICLCBDNAAOLLOKLAEOMDCAA.paul.marquess@openwave.com> p4raw-id: //depot/perl@12564