All,
The findutils code currently uses getw() to read words from
old-format
databases. This function reads a word from a file using a
system's
native byte order. At the moment we simply assume the byte
order is
the same for locate and updatedb.
However, I believe it would be fairly simple to detect when
this is
not the case. Could somebody build an old-format locate
database on a
big-endian machine for me? You can email me either a URL
for teh
resulting database or the database itself.
I need a database which requires getw() to work, which means
a shared
prefix on one of the entries of more than 14 bytes. The
list of
filenames below would suffice, but don't use filenames long
enough to
be dangerous for findutils versions before 4.2.31:-
tmp/subdir
tmp/subdir/_________________________________________________
_______________________________fred1
tmp/subdir/_________________________________________________
_______________________________fred2
tmp/subdir/_________________________________________________
_______________________________fred3
tmp/subdir/_________________________________________________
_______________________________fred4
tmp/subdir/foo
Thanks,
James.
_______________________________________________
Bug-findutils mailing list
Bug-findutils gnu.org
h
ttp://lists.gnu.org/mailman/listinfo/bug-findutils
|