#
41918f42 |
| 15-Aug-2021 |
gutteridge <gutteridge@NetBSD.org> |
utmpx.h: fix comment missed in r. 1.10 _NETBSD_SOURCE changes
|
#
7fc37d63 |
| 11-Jan-2009 |
christos <christos@NetBSD.org> |
don't do size computations because g++ does not like it.
|
#
50728e78 |
| 11-Jan-2009 |
christos <christos@NetBSD.org> |
merge christos-time_t
|
#
ce099b40 |
| 28-Apr-2008 |
martin <martin@NetBSD.org> |
Remove clause 3 and 4 from TNF licenses
|
#
3600b1e7 |
| 22-Sep-2006 |
christos <christos@NetBSD.org> |
Add run level messages.
|
#
66412e72 |
| 13-Sep-2005 |
christos <christos@NetBSD.org> |
compat code reorg
|
#
19b7469a |
| 03-Feb-2005 |
perry <perry@NetBSD.org> |
de-__P -- the hack is long since useless. Discussed with christos, matt, kleink, others. Approved by christos.
|
#
31fd31cc |
| 26-Aug-2003 |
wiz <wiz@NetBSD.org> |
Make getlastlogx have the pathname to the lastlogx database as first argument, to be consistent with updlastlogx.
Approved by christos, reviewed by kleink.
[The lastlogxname function should not be
Make getlastlogx have the pathname to the lastlogx database as first argument, to be consistent with updlastlogx.
Approved by christos, reviewed by kleink.
[The lastlogxname function should not be used any longer.]
show more ...
|
#
4be7a2dc |
| 28-Apr-2003 |
bjh21 <bjh21@NetBSD.org> |
Add a new feature-test macro, _NETBSD_SOURCE. If this is defined by the application, all NetBSD interfaces are made visible, even if some other feature-test macro (like _POSIX_C_SOURCE) is defined.
Add a new feature-test macro, _NETBSD_SOURCE. If this is defined by the application, all NetBSD interfaces are made visible, even if some other feature-test macro (like _POSIX_C_SOURCE) is defined. <sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE, _POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve existing behaviour.
This has two major advantages: + Programs that require non-POSIX facilities but define _POSIX_C_SOURCE can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS. + It makes most of the #ifs simpler, in that they're all now ORs of the various macros, rather than having checks for (!defined(_ANSI_SOURCE) || !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.
I've tried not to change the semantics of the headers in any case where _NETBSD_SOURCE wasn't defined, but there were some places where the current semantics were clearly mad, and retaining them was harder than correcting them. In particular, I've mostly normalised things so that _ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE, _XOPEN_SOURCE and _NETBSD_SOURCE in that order.
Tested by building for vax, encouraged by thorpej, and uncontested in tech-userlevel for a week.
show more ...
|
#
2caaca4c |
| 28-Jul-2002 |
christos <christos@NetBSD.org> |
Add __P(()); noticed by wiz.
|
#
230d3c5b |
| 27-Jul-2002 |
christos <christos@NetBSD.org> |
updates to lastlogx implementation.
|
#
310f799e |
| 02-Jun-2002 |
christos <christos@NetBSD.org> |
forward declaration for struct utmp.
|
#
27047692 |
| 04-Apr-2002 |
christos <christos@NetBSD.org> |
- reverse the #define ut_user<->ut_name so that we don't affect utmp. - add a couple of gnuisms.
|
#
2e53a01f |
| 05-Mar-2002 |
christos <christos@NetBSD.org> |
add a couple of XOPEN compatibility defines, and a non-xopen function that we are expected to have (updwtmpx). Requested by tron.
|
#
a7422358 |
| 05-Mar-2002 |
tron <tron@NetBSD.org> |
Include "sys/time.h" here to get the definition of "struct timeval".
|
#
2d295570 |
| 25-Feb-2002 |
christos <christos@NetBSD.org> |
s/ut_name/ut_user/ from Simon Burge.
|
#
230cba39 |
| 25-Feb-2002 |
christos <christos@NetBSD.org> |
- include <sys/socket.h> because we use sockaddr_storage - it is PATH_LASTLOGX not PATH_LASTLOG
|
#
4ac6388b |
| 22-Feb-2002 |
christos <christos@NetBSD.org> |
A utmpx implementation.
|