Bug #1149
closedtic issues useless warnings about filenames longer than 16 chars
100%
Description
The subject says it all - tic issues useless warnings when resulting filename is longer than 16 chars, but doesn't actually truncate it as the warning says:
[...] tic: Warning: near line 25101: terminal 'screen-bce.gnome|screen optimized for GNOME-Terminal', 's/screen-bce.gnome' filename too long, truncating to 's/screen-bce.gno' [...] $ ls -l ~/ws/termdefs/proto/root_i386/usr/share/lib/terminfo/s/screen-bce.gnome -rw-r--r-- 1 yuri staff 2178 Jun 25 15:10 /home/yuri/ws/termdefs/proto/root_i386/usr/share/lib/terminfo/s/screen-bce.gnome
Updated by Yuri Pankov about 11 years ago
Just to clarify - actual "limit" is 14 characters + [a-z]/, making it 16, which the checks in the code use.
Updated by Rich Lowe about 11 years ago
Wouldn't be too surprised if it was expecting s5fs to do the truncation.
Updated by Garrett D'Amore almost 11 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Resolved (we don't use s5fs any more :-)
garrett@thinkpad{12}> hg head
changeset: 13444:c1ed50709bff
tag: tip
user: Yuri Pankov <yuri.pankov@nexenta.com>
date: Tue Aug 30 15:16:15 2011 -0700
description:
294 ONNV terminal definitions are old and crufty
1149 tic issues useless warnings about filenames longer than 16 chars
Reviewed by: Gordon Ross <gordon.w.ross@gmail.com>
Reviewed by: Garrett D'Amore <garrett@nexenta.com>
Approved by: Garrett D'Amore <garrett@nexenta.com>