| 915 | } |
| 916 | |
| 917 | static inline size_t xsize_t(off_t len) |
| 918 | { |
| 919 | if (len < 0 || (uintmax_t) len > SIZE_MAX) |
| 920 | die("Cannot handle files this big"); |
| 921 | return (size_t) len; |
| 922 | } |
| 923 | |
| 924 | /* |
| 925 | * Like skip_prefix, but compare case-insensitively. Note that the comparison |
no test coverage detected