summaryrefslogtreecommitdiff
path: root/src/system.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-05-13 10:20:36 +0000
committerJim Meyering <jim@meyering.net>2001-05-13 10:20:36 +0000
commit9426be56f56b43c42603a1e6dddc14f0c25d9d0b (patch)
tree5b6c48d65c0d6a551f141a15120cfb8b7768c14a /src/system.h
parented582f56121c8d37f7f942ee08319f93490bed1b (diff)
downloadcoreutils-9426be56f56b43c42603a1e6dddc14f0c25d9d0b.tar.xz
(main): Check for overflow when converting out of uintmax_t.
Do not assume that major_t and minor_t are no wider than int. Check for makedev failures. Convert device numbers via uintmax_t, not unsigned long, just in case. Coalesce duplicate code in the block and character device cases.
Diffstat (limited to 'src/system.h')
0 files changed, 0 insertions, 0 deletions