| 348 | } |
| 349 | |
| 350 | static int |
| 351 | set_tilefile_path(const char *fdir, const char *fname, char *buf, size_t sz) |
| 352 | { |
| 353 | size_t consuming = 0; |
| 354 | |
| 355 | *buf = '\0'; |
| 356 | consuming = strlen(fdir) + strlen(fname) + 1; |
| 357 | if (consuming > sz) |
| 358 | return 0; |
| 359 | Strcpy(buf, fdir); |
| 360 | Strcat(buf, fname); |
| 361 | return 1; |
| 362 | } |
| 363 | |
| 364 | static int |
| 365 | examine_tilefiles(void) |
no outgoing calls
no test coverage detected