diff options
author | Paul Marquess <pmarquess@bfsec.bt.co.uk> | 1997-07-11 22:01:43 +1200 |
---|---|---|
committer | Tim Bunce <Tim.Bunce@ig.co.uk> | 1997-08-07 00:00:00 +1200 |
commit | 4e2a63a79975e6f132b1e2902946589b4ad25bb6 (patch) | |
tree | 90285473eba5e9e69d578db43030e0a79bc43dd5 /ext/ODBM_File | |
parent | e611f9129311ccd3cff32e420a06a072843ccac9 (diff) | |
download | perl-4e2a63a79975e6f132b1e2902946589b4ad25bb6.tar.gz |
PATCH: make DBM*_File modules sub-classable
Here is a patch to make the DBM*_File modules sub-classable.
The sub-class patch for DB_File will be along presently.
p5p-msgid: 9707121854.AA19472@claudius.bfsec.bt.co.uk
Diffstat (limited to 'ext/ODBM_File')
-rw-r--r-- | ext/ODBM_File/ODBM_File.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ODBM_File/ODBM_File.xs b/ext/ODBM_File/ODBM_File.xs index d23b318e0d..b57e560bd3 100644 --- a/ext/ODBM_File/ODBM_File.xs +++ b/ext/ODBM_File/ODBM_File.xs @@ -73,7 +73,7 @@ odbm_TIEHASH(dbtype, filename, flags, mode) } RETVAL = (void*)(dbminit(filename) >= 0 ? &dbmrefcnt : 0); ST(0) = sv_mortalcopy(&sv_undef); - sv_setptrobj(ST(0), RETVAL, "ODBM_File"); + sv_setptrobj(ST(0), RETVAL, dbtype); } void |