[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] [bug] Inventory does not fail gracefully when high-bit

From: Aaron Bentley
Subject: [Gnu-arch-users] [bug] Inventory does not fail gracefully when high-bit file names are encountered.
Date: Wed, 12 May 2004 11:59:25 -0400
User-agent: Mozilla Thunderbird 0.5 (X11/20040309)

$ tla inventory > /dev/null
/home/abentley/tla-1.2/src/tla/libarch/invent.c:901:botched invariant
    *a < *b
PANIC: exiting on botched invariant

This happens because there is a file with high-bit characters in its filename in the tree.

These filenames are compared as possibly-signed character arrays (e.g. negative) in right_order_for_recursion, but have been sorted as though they were unsigned elsewhere, leading to the botched invariant.

Aaron Bentley
Director of Technology
Panometrics, Inc.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]