Size of directory component, including the ending '/' */
| 596 | |
| 597 | /* Size of directory component, including the ending '/' */ |
| 598 | static inline int directory_size(const char *filename) |
| 599 | { |
| 600 | const char *s = strrchr(filename, '/'); |
| 601 | if (!s) |
| 602 | return 0; |
| 603 | return s - filename + 1; |
| 604 | } |
| 605 | |
| 606 | /* |
| 607 | * This creates a temporary file in the same directory as the final |
no outgoing calls
no test coverage detected