diff options
author | Paul Marquess <paul.marquess@btinternet.com> | 1999-05-28 00:31:38 +0100 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-05-28 08:12:23 +0000 |
commit | 049cc612e09bf08842891c4d3339260de824643a (patch) | |
tree | 5f6d70a73fc0e0783812f0310dd25c3cd7629f23 | |
parent | 1d651c14520f7db44adb51b335f0fd87f91e8421 (diff) | |
download | perl-049cc612e09bf08842891c4d3339260de824643a.tar.gz |
RE: [19990527.002] DBM Filters in _57 cause problems in NDBM_File
To: doughera@lafayette.edu
Cc: perl5-porters@perl.org
Message-ID: <5104D4DBC598D211B5FE0000F8FE7EB29C6C03@mbtlipnt02.btlabs.bt.co.uk>
Had to be applied manually; some mailer had munged the patch slightly.
p4raw-id: //depot/cfgperl@3492
-rw-r--r-- | ext/NDBM_File/NDBM_File.xs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/ext/NDBM_File/NDBM_File.xs b/ext/NDBM_File/NDBM_File.xs index f5bc0f9a6a..60b141e230 100644 --- a/ext/NDBM_File/NDBM_File.xs +++ b/ext/NDBM_File/NDBM_File.xs @@ -35,10 +35,10 @@ typedef datum datum_value ; } -MODULE = NDBM_File PACKAGE = NDBM_File PREFIX = dbm_ +MODULE = NDBM_File PACKAGE = NDBM_File PREFIX = ndbm_ NDBM_File -dbm_TIEHASH(dbtype, filename, flags, mode) +ndbm_TIEHASH(dbtype, filename, flags, mode) char * dbtype char * filename int flags @@ -59,20 +59,20 @@ dbm_TIEHASH(dbtype, filename, flags, mode) RETVAL void -dbm_DESTROY(db) +ndbm_DESTROY(db) NDBM_File db CODE: dbm_close(db->dbp); -#define dbm_FETCH(db,key) dbm_fetch(db->dbp,key) +#define ndbm_FETCH(db,key) dbm_fetch(db->dbp,key) datum_value -dbm_FETCH(db, key) +ndbm_FETCH(db, key) NDBM_File db datum_key key -#define dbm_STORE(db,key,value,flags) dbm_store(db->dbp,key,value,flags) +#define ndbm_STORE(db,key,value,flags) dbm_store(db->dbp,key,value,flags) int -dbm_STORE(db, key, value, flags = DBM_REPLACE) +ndbm_STORE(db, key, value, flags = DBM_REPLACE) NDBM_File db datum_key key datum_value value @@ -86,31 +86,31 @@ dbm_STORE(db, key, value, flags = DBM_REPLACE) dbm_clearerr(db->dbp); } -#define dbm_DELETE(db,key) dbm_delete(db->dbp,key) +#define ndbm_DELETE(db,key) dbm_delete(db->dbp,key) int -dbm_DELETE(db, key) +ndbm_DELETE(db, key) NDBM_File db datum_key key -#define dbm_FIRSTKEY(db) dbm_firstkey(db->dbp) +#define ndbm_FIRSTKEY(db) dbm_firstkey(db->dbp) datum_key -dbm_FIRSTKEY(db) +ndbm_FIRSTKEY(db) NDBM_File db -#define dbm_NEXTKEY(db,key) dbm_nextkey(db->dbp) +#define ndbm_NEXTKEY(db,key) dbm_nextkey(db->dbp) datum_key -dbm_NEXTKEY(db, key) +ndbm_NEXTKEY(db, key) NDBM_File db datum_key key -#define dbm_error(db) dbm_error(db->dbp) +#define ndbm_error(db) dbm_error(db->dbp) int -dbm_error(db) +ndbm_error(db) NDBM_File db -#define dbm_clearerr(db) dbm_clearerr(db->dbp) +#define ndbm_clearerr(db) dbm_clearerr(db->dbp) void -dbm_clearerr(db) +ndbm_clearerr(db) NDBM_File db |