On 2022/03/11 12:16, Mikhail wrote: > On Thu, Mar 10, 2022 at 05:53:55PM +0300, Mikhail wrote: > > Inlined patch adds support for pledge() in par formatter. It's rather > > complicated program, but in that cost, it provides more eyes-pleasant > > results than fmt from the base, and has much more options. Because of > > its complexity I think pledge()'ing it makes sense. > > > > I've tested it with english and utf8 texts - it behaves like before. > > > > Tests, comments, objections? > > Got private ok from the maintainer for that change. >
Having checked over nm -s to see what system calls are used by this, and considering that it's a relatively simple port which doesn't change often, I agree. Committed with small tweaks (regen plist while there, mention pledge in the usual place next to WANTLIB). (I use par quite a lot in emails and writing pkg/DESCR files - often output from this is indeed more pleasing to the eye than fmt, but sometimes it can't cope and makes a complete mess of things - I definitely wouldn't recommend it for any non-interactive use!).
