| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
For threaded platforms, this reduces the object code size, and should slightly
reduce CPU usage.
|
|
|
|
|
| |
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.
|
|
|
|
| |
This eliminates 1445 lines, ie almost 500 lines duplicated fourfold.
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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.)
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* differ between 5.10.0 and maint-5.10, or
* differ between 5.8.9 and maint-5.10
|
| |
|
| |
|
|
|
|
|
|
| |
change makes the intro of NDBM_File.xs even uglier,
but hopefully it also makes tests pass now.
p4raw-id: //depot/perl@34757
|
|
|
|
|
| |
Message-ID: <20081103224011.26c223b3@r2d2>
p4raw-id: //depot/perl@34756
|
|
|
|
|
| |
Message-ID: <Pine.LNX.4.64.0805131224130.9728@fractal.phys.lafayette.edu>
p4raw-id: //depot/perl@33845
|
|
|
| |
p4raw-id: //depot/perl@32704
|
|
|
|
|
| |
So need to propagate errors with $@.
p4raw-id: //depot/perl@29723
|
|
|
|
|
|
| |
From: "Robin Barker" <Robin.Barker@npl.co.uk>
Message-ID: <2C2E01334A940D4792B3E115F95B7226120A65@exchsvr1.npl.ad.local>
p4raw-id: //depot/perl@28997
|
|
|
| |
p4raw-id: //depot/perl@28996
|
|
|
|
|
|
| |
is likely using the GDBM compatibility headers that
g++ (and other C++ implementations) cannot handle.
p4raw-id: //depot/perl@28976
|
|
|
| |
p4raw-id: //depot/perl@26804
|
|
|
|
|
|
| |
From: "Piotr Fusik" <pfusik@op.pl>
Message-ID: <001401c595bd$dccb5d80$0bd34dd5@piec>
p4raw-id: //depot/perl@25261
|
|
|
|
|
| |
Message-Id: <28baf339c3b78cc40017066b9dc7cffb@sergeant.org>
p4raw-id: //depot/perl@25145
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Message-ID: <20040521222222.GJ2030@solemn.turbinal.org>
p4raw-id: //depot/perl@22892
|
|
|
|
|
|
| |
From: "Paul Marquess" <Paul.Marquess@btinternet.com>
Message-ID: <AIEAJICLCBDNAAOLLOKLIEAOPGAA.Paul.Marquess@btinternet.com>
p4raw-id: //depot/perl@21981
|
|
|
| |
p4raw-id: //depot/perl@20704
|
|
|
|
|
|
|
|
| |
searchlist
From: "Gerrit P. Haase" <gp@familiehaase.de>
Message-ID: <1621817486657.20030808134451@familiehaase.de>
p4raw-id: //depot/perl@20563
|
|
|
| |
p4raw-id: //depot/perl@20269
|
|
|
|
|
| |
http://rt.perl.org/rt2/Ticket/Display.html?id=16708
p4raw-id: //depot/perl@17761
|
|
|
|
|
|
| |
From: "Paul Marquess" <Paul.Marquess@btinternet.com>
Message-ID: <AIEAJICLCBDNAAOLLOKLAEHCFEAA.Paul.Marquess@btinternet.com>
p4raw-id: //depot/perl@17750
|
|
|
|
|
| |
Message-ID: <AIEAJICLCBDNAAOLLOKLAEOMDCAA.paul.marquess@openwave.com>
p4raw-id: //depot/perl@12564
|
|
|
|
|
|
|
|
|
| |
p4raw-link: @11388 on //depot/maint-5.6/macperl: fa1e76071cf9cd14bdc552967af2da831117260a
p4raw-id: //depot/perl@11432
p4raw-branched: from //depot/maint-5.6/macperl@11423 'branch in'
macos/MacPerlTests.cmd (@11243..)
p4raw-branched: from //depot/maint-5.6/macperl@11388 'branch in'
macos/xsubpp.patch (@11243..)
|
|
|
|
|
| |
(no Message-Id)
p4raw-id: //depot/perl@11108
|
|
|
|
|
|
|
| |
(no null key support), therefore link with libgdbm
(if available), since it has a working ndbm emulation,
from Jonathan Stowe.
p4raw-id: //depot/perl@10984
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
| |
p4raw-id: //depot/perl@10392
|
|
|
|
|
| |
Message-ID: <20010315212518.A18870@firedrake.org>
p4raw-id: //depot/perl@9176
|
|
|
| |
p4raw-id: //depot/perl@8848
|
|
|
| |
p4raw-id: //depot/perl@8320
|
|
|
|
|
| |
Message-ID: <002001c061ff$b3aba820$a20a140a@bfs.phone.com>
p4raw-id: //depot/perl@8068
|
|
|
|
|
| |
was documented in #6417.
p4raw-id: //depot/perl@6701
|