mblaze

Unix utilities to deal with Maildir - my mirror
git clone https://pi.duncano.de/git/mblaze.git
Log | Files | Refs | README | COPYING

commit 56e87c6a10ebd301e4dbea42b2def926f5571df6
parent a5c5e22204d54bf80c2ac2277a56db15467ee641
Author: Christian Neukirchen <chneukirchen@gmail.com>
Date:   Tue,  9 Aug 2016 21:13:54 +0200

mscan: u8putstr: force left-alignment

Diffstat:
mscan.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/mscan.c b/mscan.c @@ -35,6 +35,8 @@ static char *fflag = default_fflag; int u8putstr(FILE *out, char *s, ssize_t l, int pad) { + if (l < 0) + l = -l; ssize_t ol = l; while (*s && l > 0) {