| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Disabling them breaks build on archs using GCC. The problem is at line 156 of
bits/basic_ios.h:
if (this->exceptions() & __state)
__throw_exception_again;
With exceptions disabled __throw_exception_again is defined as
#define __throw_exception_again
at line 45 of exception_defines.h and the code results in an empty loop body,
which fails because of -Werror.
Approved by: cognet
|
|
|
|
|
| |
Neither is used in the program and this saves us 10KB (around 40%) in binary
size.
|
|
|
|
|
|
|
| |
This reduces the lines of code by roughly 50% (not counting the COPYRIGHT
header) and makes it more readable by using standard algorithms.
Approved by: bapt
|
|
|
|
|
| |
They were already converted to use libulog, so it's easy to convert them
to utmpx.
|
|
|
|
| |
Also add some missing $FreeBSD$ to keep svn happy.
|
| |
|
|
|
|
|
|
| |
Instead of digging through the utmp database by hand, use proper API
calls to do so. Instead of parsing entries with a non-empty ut_user, we
now look at LOGIN_PROCESS entries.
|
| |
|
|
|
|
|
|
| |
Submitted by: David Hill <david@phobia.ms>
Reviewed by: -audit
MFC after: 1 week
|
|
|