summaryrefslogtreecommitdiff
path: root/pod/perlport.pod
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2012-12-13 17:06:26 +0100
committerNicholas Clark <nick@ccl4.org>2012-12-13 17:13:35 +0100
commit708cce4f6b3b5d37df12460d4fa3dca84646cf8b (patch)
tree31ba3e389394d8e5c4b77aef2bd58e432b050c0b /pod/perlport.pod
parentceab7011c2af9d86bd7743d6c1b7c37540fe14f1 (diff)
downloadperl-708cce4f6b3b5d37df12460d4fa3dca84646cf8b.tar.gz
Eliminate the fifth argument from GDBM_File::TIEHASH.
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.
Diffstat (limited to 'pod/perlport.pod')
0 files changed, 0 insertions, 0 deletions