Date: Mon, 26 Dec 1994 16:53:17 -0800 From: Andreas Schulz <ats> To: CVS-commiters, cvs-usrbin Subject: cvs commit: src/usr.bin/rwho rwho.c Message-ID: <199412270053.QAA02693@freefall.cdrom.com>
next in thread | raw e-mail | index | archive | help
ats 94/12/26 16:53:16 Modified: usr.bin/rwho rwho.c Log: 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199412270053.QAA02693>