X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/d3ddf0ff20a6dfddae0b1905fb54f215394ffe90..3e793ecdc83c0df54ce3096880eb8fdc7a36c4e0:/uip/mhstoresbr.c?ds=inline diff --git a/uip/mhstoresbr.c b/uip/mhstoresbr.c index 515699d8..c9725ffd 100644 --- a/uip/mhstoresbr.c +++ b/uip/mhstoresbr.c @@ -671,7 +671,7 @@ got_filename: int cwdlen = strlen (info->cwd); fprintf (stderr, " as file %s\n", - !HasPrefix(ct->c_storage, info->cwd) + !has_prefix(ct->c_storage, info->cwd) || ct->c_storage[cwdlen] != '/' ? ct->c_storage : ct->c_storage + cwdlen + 1); } @@ -1298,7 +1298,7 @@ clobber_check (char *original_file, mhstoreinfo_t info) { file = NULL; ++info->files_not_clobbered; } else { - TrimSuffixC(buf, '\n'); + trim_suffix_c(buf, '\n'); } free (file);