Without this fix, empty label is being incorrectly reported as a one
character string, " ".
Similar fix might be needed for geom_label(4) module this code come
from.
PR: 200828
Paths
| Differential D2830 Authored by trasz on Jun 15 2015, 6:44 PM.
Details Summary Without this fix, empty label is being incorrectly reported as a one Similar fix might be needed for geom_label(4) module this code come PR: 200828
Diff Detail
Event TimelineHerald added a subscriber: imp. · View Herald TranscriptJun 15 2015, 6:44 PM2015-06-15 18:44:25 (UTC+0) Comment Actions Looks OK to me although I'd have a small preference for changing this to avoid the signed i. trasz retitled this revision from Fix empty label handling for cd9660.
Without this fix, empty label is being incorrectly reported as a one
character string, " ".
Similar fix might be needed for geom_label(4) module this code come
from.
PR: 200828 to Fix empty label handling for cd9660.. trasz edited edge metadata. trasz updated this object. Comment ActionsDeduplicate the code and add the same fix for geom_label(4).
This revision is now accepted and ready to land.Jun 16 2015, 4:14 PM2015-06-16 16:14:18 (UTC+0) Comment Actions Ed, does it look ok? If so, can you mark it Accepted, so you end up in "Reviewed by"? Thanks! emaste edited edge metadata. Closed by commit rS284582: Fix off-by-one error in fstyp(8) and geom_label(4) that made them use (authored by trasz). · Explain WhyJun 18 2015, 9:56 PM2015-06-18 21:56:01 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 6237 sys/geom/label/g_label.h
sys/geom/label/g_label.c
sys/geom/label/g_label_iso9660.c
sys/geom/label/g_label_msdosfs.c
usr.sbin/fstyp/cd9660.c
usr.sbin/fstyp/fstyp.h
usr.sbin/fstyp/fstyp.c
|