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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-findutils

Reply via email to