Date: Sun, 10 Jan 1999 07:28:38 -0800 (PST) From: Peter Wemm <peter@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/usr.bin/w pr_time.c w.c Message-ID: <199901101528.HAA18829@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 1999/01/10 07:28:38 PST Modified files: usr.bin/w pr_time.c w.c Log: Fix the annoying bug introduced in rev 1.18 that caused each line to be one character shorter than the previous in a stairstep fashion when long idle times were involved. A couple of nits: - spelling/typo fix. - some of the easier style(9) fixes where it was bothering me. - Handle 100+ days idle time (ha!). Probably the right thing to do is to do a snprintf into a buffer and strlen the result rather than doing hackery on magic numbers. XXX the wide (and mostly unused) username and tty columns annoy me since it it could be used for more useful information for the command. We should actually count the largest username and tty and adjust like 'ls -l' does. Revision Changes Path 1.12 +6 -3 src/usr.bin/w/pr_time.c 1.32 +9 -10 src/usr.bin/w/w.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901101528.HAA18829>