summaryrefslogtreecommitdiffstats
path: root/usr.bin/users/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Unbreak the build by re-enabling exceptions.gahr2014-07-141-1/+1
| | | | | | | | | | | | | | | | | 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
* Turn off exceptions and rtti when building the c++ version of users.theraven2014-07-121-0/+1
| | | | | Neither is used in the program and this saves us 10KB (around 40%) in binary size.
* Reimplements users(1) in C++.gahr2014-07-101-1/+2
| | | | | | | 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
* Perform all trivial ports to utmpx for usr.bin/.ed2010-01-131-3/+0
| | | | | They were already converted to use libulog, so it's easy to convert them to utmpx.
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-2/+0
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Add WARNS?=6, because it seems to build out of the box.ed2009-12-051-0/+2
|
* Port users(1) to libulog.ed2009-12-031-0/+3
| | | | | | 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.
* WARNS=2 is going to become the default, so remove it from here.markm2001-12-111-1/+0
|
* Remove a bogus cast and lockdown users(1) with WARNS?=2mike2001-09-091-0/+2
| | | | | | Submitted by: David Hill <david@phobia.ms> Reviewed by: -audit MFC after: 1 week
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+5
OpenPOWER on IntegriCloud