sortix-mirror/login
Jonas 'Sortie' Termansen 29555d72bb Fix <fcntl.h> including <sys/stat.h> namespace pollution.
POSIX allows <fcntl.h> to include <sys/stat.h>, but doesn't require it.
There's little reason to do that, since they are separate headers, and
<fcntl.h> just needs the mode_t constants. Fix the code accidentally
relying on <fcntl.h> including <sys/stat.h>. The mode_t constants are now
provided in their own kernel header <sortix/mode.h>.

Additionally fix <sys/stat.h> pulling in all of <sys/types.h>, which is not
allowed by POSIX, which only requires a few types to be declared. Fix the
code accidentally relying on <sys/stat.h> including <sys/types.h>.

Finally fix <dirent.h> pulling in <stdint.h> through <sortix/dirent.h>.

The <sortix/__/dt.h> and <sortix/__/stat.h> headers are no longer required
and their contents have been merged into <sortix/__/dirent.h>.
2018-08-06 23:59:34 +02:00
..
.gitignore Add login(8). 2016-02-06 00:52:52 +01:00
Makefile Remove VERSIONSTR define for programs not using it. 2017-03-19 17:34:19 +01:00
arrow.rgb Add login(8). 2016-02-06 00:52:52 +01:00
framebuffer.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
framebuffer.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
graphical.c Detect whether the terminal has a display and a keyboard layout. 2016-11-23 22:31:04 +01:00
login.8 Fix date format in manual pages. 2017-07-02 22:07:39 +02:00
login.c Fix <fcntl.h> including <sys/stat.h> namespace pollution. 2018-08-06 23:59:34 +02:00
login.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
pixel.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
pixel.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
vgafont.c Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
vgafont.h Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00