summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regcomp.c
diff options
context:
space:
mode:
authorats <ats@FreeBSD.org>1994-12-27 00:53:14 +0000
committerats <ats@FreeBSD.org>1994-12-27 00:53:14 +0000
commit32fbcd2a755951192cebd40e20e57606fd7b3bf2 (patch)
tree83fbbc5998b5e43b2873d41902a2b7cc34a4d8c1 /lib/libc/regex/regcomp.c
parentbc52f83749b31166c2b334be6ad76935f5d261db (diff)
downloadFreeBSD-src-32fbcd2a755951192cebd40e20e57606fd7b3bf2.zip
FreeBSD-src-32fbcd2a755951192cebd40e20e57606fd7b3bf2.tar.gz
My prevoius commit missed some things. The out_line didn't need
to be padded to 8 chars. Simply make sure that never more than 8 chars are printed ( %-.8s ). The former commit otherwise hosed the width calculation and landed on different positions for the time output. Also the strlen(xx_out_line) hoses the wide calculation, so that it sometimes make it much larger than necessary. Simply use always 8 chars for the out_line calculation now. Looks good this way.
Diffstat (limited to 'lib/libc/regex/regcomp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud