When forming a truncated name, use the "[...]" prefix even for
authorJim Meyering <meyering@redhat.com>
Mon, 8 Oct 2007 08:34:04 +0000 (10:34 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 8 Oct 2007 08:47:40 +0000 (10:47 +0200)
commite6f4b28275316895ad8808a9d0abcc468df8780b
tree7bd4c3e13a773b3dfd074077f22ec75bbe1c7a22
parent689186b88ccf025664ca24ac8efa68699f12d85d
When forming a truncated name, use the "[...]" prefix even for
an extremely long name in the current directory.

* src/remove.c (full_filename_): Rename a local variable.
Use two separate "truncated" variables, in case the second
call to right_justify does not indicate any truncation -- which
would happen only if the single component FILENAME were longer
than 511 bytes and DIR_NAME were empty.
ChangeLog
src/c99-to-c89.diff
src/remove.c