Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mosedale@fafner.Stanford.EDU (Dan Mosedale)
Subject: Suggested kludge/fix for non-sharability of dbm across 32/64 archs
Date: Mon, 21 Jun 93 19:59:29 GMT	[thread overview]
Message-ID: <1993Jun21.195929.10427@leland.Stanford.EDU> (raw)

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      


                 reply	other threads:[~1993-06-21 19:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox