Mercurial > hg > sidinfo
comparison sidutil.c @ 318:f3ba2ba894b1
Rename few HVSC related #defines to have SIDUTIL_ prefix.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 11 Jan 2020 19:11:34 +0200 |
parents | b0c844b39516 |
children | 1e7ffcaeb8ad |
comparison
equal
deleted
inserted
replaced
317:6291b08730df | 318:f3ba2ba894b1 |
---|---|
125 char *sidutil_check_hvsc_file(const char *hvscPath, const char *filebase, const char *fext) | 125 char *sidutil_check_hvsc_file(const char *hvscPath, const char *filebase, const char *fext) |
126 { | 126 { |
127 th_stat_data sdata; | 127 th_stat_data sdata; |
128 char *npath = th_strdup_printf("%s%c%s%c%s%s", | 128 char *npath = th_strdup_printf("%s%c%s%c%s%s", |
129 hvscPath, TH_DIR_SEPARATOR_CHR, | 129 hvscPath, TH_DIR_SEPARATOR_CHR, |
130 SET_HVSC_DOCUMENTS, TH_DIR_SEPARATOR_CHR, | 130 SIDUTIL_HVSC_DOCUMENTS, TH_DIR_SEPARATOR_CHR, |
131 filebase, fext != NULL ? fext : ""); | 131 filebase, fext != NULL ? fext : ""); |
132 | 132 |
133 if (npath != NULL && | 133 if (npath != NULL && |
134 th_stat_path(npath, &sdata) && | 134 th_stat_path(npath, &sdata) && |
135 (sdata.flags & TH_IS_READABLE) && | 135 (sdata.flags & TH_IS_READABLE) && |