| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
The only reason why it didn't build with WARNS=6, is because of some
simple to fix string formatting bugs.
MFC after: 3 months
|
|
|
|
|
|
|
|
|
| |
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
|
|
|
|
|
| |
Right now the code uses UT_NAMESIZE, but this makes little sense,
because rwho(1) parses files generated by rwhod(8). Not utmp(5) files.
|
|
|
|
| |
Fix easy warnings.
|
| |
|
|
|
|
|
|
|
|
| |
time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx()
instead of time_to_xxx(), to make it more obvious that these are
stopgap functions & placemarkers and not meant to create a defacto
standard. They will eventually be replaced when a real standard
comes out of committee.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
a warning related to qsort.
PR: 6420
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
|
| |
|
|
|
|
| |
posix standard on the topic.
|
|
|
|
|
| |
and utmp sizes.
Replace hardcoded constants by sizeofs or symbolic constants
|
|
|
|
| |
2.2 candidate
|
|
|
|
|
|
| |
<sys/dir.h> in applications. Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
but with a %-8.8s instead. this prevents funny output, if the out_line
contains a long hostname that is larger than 8 chars.
|
|
|