On Wed, Aug 22, 2012 at 2:20 AM, Torsten Bögershausen <tboegi@xxxxxx> wrote: > +static iconv_t iconv_open_or_die(const char* tocode, const char* fromcode) > +{ > + iconv_t my_iconv; > + my_iconv = iconv_open(tocode, fromcode); > + if (my_iconv == (iconv_t) -1) { > + die(_("iconv_open(%s,%s) failed, but needed:\n" > + " core.precomposeunicode not supported.\n"), > + repo_encoding, path_encoding); You might want to use die_errno. > + } > + > + return my_iconv; > +} -- Duy -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html