aboutsummaryrefslogtreecommitdiff
path: root/toys/other/makedevs.c
AgeCommit message (Collapse)Author
2016-03-02For years the man pages have said to #include <sys/types.h> to getRob Landley
major/minor/makedev, but glibc has vowed to break existing programs (https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html) and replace it with _another_ non-standard header (not in posix or lsb), so let's just add functions to lib/ that do the transform ourselves.
2015-04-21Bugfix from Hyejin Kim (count=1 shouldn't change name), plus a bounds check.Rob Landley
Test is 'echo "AAA c 1 0 0 2 5 0 0 1" | makedevs' makes AAA not AAA0.
2015-03-12Make find accept numeric uid/gid, and simplify makedevs using the new ↵Rob Landley
infrastructure.
2014-06-30Promote makedevs to other.Rob Landley