cbc43ac3 | 14-Mar-2021 |
Sascha Wildner <saw@online.de> |
Fix some minor issues in various headers for self sufficiency.
* <netgraph/ksocket/ng_ksocket.h>, <netgraph7/ksocket/ng_ksocket.h> and <rpc/auth.h>: Include <sys/types.h> because <sys/socket.h> no
Fix some minor issues in various headers for self sufficiency.
* <netgraph/ksocket/ng_ksocket.h>, <netgraph7/ksocket/ng_ksocket.h> and <rpc/auth.h>: Include <sys/types.h> because <sys/socket.h> no longer brings it in.
* <sys/sysunion.h>: Include <sys/sysproto.h> for struct <syscall>_args definitions.
show more ...
|
9d755d93 | 01-Jan-2021 |
Aaron LI <aly@aaronly.me> |
devname(3): Remove obsolete code that queries dev.db
In the old days of static /dev, devname(3) would get the name by querying the /var/run/dev.db created by dev_mkdb(8). Now that we have dynamic /
devname(3): Remove obsolete code that queries dev.db
In the old days of static /dev, devname(3) would get the name by querying the /var/run/dev.db created by dev_mkdb(8). Now that we have dynamic /dev provided by devfs(5), the device name is provided by the 'kern.devname' sysctl, thus obsoleting the db query code.
I've tested to verify that the db query code isn't being used now. So it's safe to remove this obsolete code. Cleanups to dev_mkdb(8) and related code would follow.
Meanwhile, update the man page to reflect the current code.
Discussed-with: swildner
show more ...
|
d960c16f | 31-Dec-2020 |
Sascha Wildner <saw@online.de> |
Clean up the POSIX namespace of <iconv.h>, <dirent.h>, and <sys/stat.h>.
Some small residue in <sys/stat.h> remains for older specs, due to the kind of bumpy history of that header between issues 6
Clean up the POSIX namespace of <iconv.h>, <dirent.h>, and <sys/stat.h>.
Some small residue in <sys/stat.h> remains for older specs, due to the kind of bumpy history of that header between issues 6 and 7. Namely, struct timespec should not be defined in these cases. But this is good enough for now.
Thanks to zrj for testing with a full dports bulk.
show more ...
|