Mercurial > hg > sidinfo
comparison sidinfo.c @ 250:cf8c31ed13ad
TH_DIR_SEPARATOR define was renamed to TH_DIR_SEPARATOR_CHR in th-libs.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 05 Jan 2020 10:50:57 +0200 |
parents | 8c6f0a3afc43 |
children | 1e7c2c87e1e0 |
comparison
equal
deleted
inserted
replaced
249:1f1e7934ae61 | 250:cf8c31ed13ad |
---|---|
1106 th_stat_data sdata; | 1106 th_stat_data sdata; |
1107 char *npath; | 1107 char *npath; |
1108 BOOL ret = TRUE; | 1108 BOOL ret = TRUE; |
1109 | 1109 |
1110 if (filename != NULL) | 1110 if (filename != NULL) |
1111 npath = th_strdup_printf("%s%c%s", path, TH_DIR_SEPARATOR, filename); | 1111 npath = th_strdup_printf("%s%c%s", path, TH_DIR_SEPARATOR_CHR, filename); |
1112 else | 1112 else |
1113 npath = th_strdup(path); | 1113 npath = th_strdup(path); |
1114 | 1114 |
1115 if (!th_stat_path(npath, &sdata)) | 1115 if (!th_stat_path(npath, &sdata)) |
1116 { | 1116 { |