From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,85e837efa5c31a07,start X-Google-Attributes: gidfee84,public X-Google-Thread: 10e366,85e837efa5c31a07,start X-Google-Attributes: gid10e366,public X-Google-ArrivalTime: 1993-06-21 13:04:19 PST Xref: gmd.de comp.mail.elm:5143 comp.unix.osf.osf1:492 Newsgroups: comp.mail.elm,comp.unix.osf.osf1 Path: gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!headwall.Stanford.EDU!nntp.Stanford.EDU!fafner.Stanford.EDU!mosedale From: mosedale@fafner.Stanford.EDU (Dan Mosedale) Subject: Suggested kludge/fix for non-sharability of dbm across 32/64 archs Message-ID: <1993Jun21.195929.10427@leland.Stanford.EDU> Sender: news@leland.Stanford.EDU (Mr News) Organization: Stanford Yeast Genome Project Date: Mon, 21 Jun 93 19:59:29 GMT My mailserver is a DEC RISC system running Ultrix. I regularly read mail there and (NFS mounted) from a Sun SPARCstation. I just built Elm 2.4p22 on a DEC Alpha machine running OSF/1. When I invoke elm and look at my aliases on the Alpha, I see 0 aliases (there should be 19). If I rebuild the hashed database from aliases.text on the Alpha, the aliases are all there on the Alpha, but when viewed from Ultrix or SPARC boxes, I see 0 aliases. I assume the problem here is that ndbm databases are not portable across 32/64 bit formats. Could the next patch to elm include code that, if elm tries to read an alias database file and comes up with 0 entries, it will then try to parse the aliases.text file and use that (though without writing the new database to disk)? -- Dan Mosedale, Systems Admin Email: mosedale@genome.Stanford.EDU Stanford Genome Sequencing Center