commit | fbf64edd3e7a60686de40c2dbb7ee64febfc3398 | [log] [download] |
---|---|---|
author | WHR <msl0000023508@gmail.com> | Tue Aug 03 13:42:13 2021 +0800 |
committer | WHR <msl0000023508@gmail.com> | Tue Aug 03 13:42:13 2021 +0800 |
tree | 758c1fa6358c3a17dec8d8d48ae6031a3b47250d | |
parent | d6ecf660ab7de998d9579722f44e0f36fb60cae8 [diff] |
Tool mknod: use S_ISBLK and S_ISCHR macros to avoid misdetection of file types, due to overlapped mode bits; handle invalid options