X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=wrapper.c;h=28290002b9f6434d716a39612f3afc9958c292af;hb=67e223edc4013b0b3b1caad336e4a43f6d4c66b8;hp=4c147d6c48c000bab636fad3edc2fe7da6670948;hpb=1030536153db404daba4a140d1e3fa1a7ba470a5;p=git.git diff --git a/wrapper.c b/wrapper.c index 4c147d6c4..28290002b 100644 --- a/wrapper.c +++ b/wrapper.c @@ -209,7 +209,7 @@ int xmkstemp(char *template) if (!template[0]) template = origtemplate; - nonrelative_template = make_nonrelative_path(template); + nonrelative_template = absolute_path(template); errno = saved_errno; die_errno("Unable to create temporary file '%s'", nonrelative_template); @@ -344,7 +344,7 @@ int xmkstemp_mode(char *template, int mode) if (!template[0]) template = origtemplate; - nonrelative_template = make_nonrelative_path(template); + nonrelative_template = absolute_path(template); errno = saved_errno; die_errno("Unable to create temporary file '%s'", nonrelative_template);