[issue45767] Fix types for dev_t processing in posix module
Dmitry Marakasov
report at bugs.python.org
Thu Jan 20 11:49:06 EST 2022
Dmitry Marakasov <amdmi3 at amdmi3.ru> added the comment:
> Is device number -1 used in any context (for example as "unknown device number")?
Yes, there's NODEV macro in both Linux and FreeBSD which expands to ((dev_t)-1).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45767>
_______________________________________
More information about the Python-bugs-list
mailing list