Page MenuHomeFreeBSD

sesutil: Remove width limiter on encoded "Desc" field
ClosedPublic

Authored by js on Jan 5 2026, 7:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 16, 5:22 AM
Unknown Object (File)
Sat, May 16, 5:22 AM
Unknown Object (File)
Fri, May 15, 8:32 AM
Unknown Object (File)
Fri, May 15, 1:21 AM
Unknown Object (File)
Tue, May 12, 3:58 PM
Unknown Object (File)
Tue, May 12, 3:58 PM
Unknown Object (File)
Mon, May 11, 5:18 AM
Unknown Object (File)
Thu, Apr 30, 1:13 PM
Subscribers

Details

Summary

Remove the width modifiers on the encoded output as libxo appends white spaces to it to match width.

Before:

"description": "Slot 00        ",

After:

"description": "Slot 00",

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

js requested review of this revision.Jan 5 2026, 7:39 PM
js added a reviewer: phk.

I can't reproduce this behavior with "sesutil map --libxo=json,pretty". What is the right way to trigger the bug?

I can't reproduce this behavior with "sesutil map --libxo=json,pretty". What is the right way to trigger the bug?

It's only the show command, try sesutil --libxo:JP show instead.

LGTM. But you should wrap the long line in your commit message . And add something to the commit message indicating that the problem is with the "show" subcommand.

This revision is now accepted and ready to land.Jan 5 2026, 8:18 PM