| 228 | } |
| 229 | |
| 230 | static void* |
| 231 | yreallocf(void* ptr, size_t size) |
| 232 | { |
| 233 | void* nptr; |
| 234 | |
| 235 | nptr = realloc(ptr, size); |
| 236 | if (!nptr && ptr) { |
| 237 | free(ptr); |
| 238 | } |
| 239 | return (nptr); |
| 240 | } |
| 241 | |
| 242 | FTS* yfts_open(char* const* argv, int options, int (*compar)(const FTSENT**, const FTSENT**)) |
| 243 | { |
no test coverage detected