version 1.159, 2020/10/05 19:30:37 |
version 1.160, 2020/10/05 20:21:30 |
Line 1377 Dir_FindFile(const char *name, SearchPat |
|
Line 1377 Dir_FindFile(const char *name, SearchPat |
|
*/ |
*/ |
Boolean |
Boolean |
Dir_FindHereOrAbove(const char *here, const char *search_path, |
Dir_FindHereOrAbove(const char *here, const char *search_path, |
char *result, int result_len) |
char *result, size_t result_len) |
{ |
{ |
struct make_stat mst; |
struct make_stat mst; |
char dirbase[MAXPATHLEN + 1], *dirbase_end; |
char dirbase[MAXPATHLEN + 1], *dirbase_end; |
Line 1446 Dir_FindHereOrAbove(const char *here, co |
|
Line 1446 Dir_FindHereOrAbove(const char *here, co |
|
* found one for it, the full name is placed in the path slot. |
* found one for it, the full name is placed in the path slot. |
*----------------------------------------------------------------------- |
*----------------------------------------------------------------------- |
*/ |
*/ |
int |
time_t |
Dir_MTime(GNode *gn, Boolean recheck) |
Dir_MTime(GNode *gn, Boolean recheck) |
{ |
{ |
char *fullName; /* the full pathname of name */ |
char *fullName; /* the full pathname of name */ |