Re: [PATCH 2/3] wrapper: add xgetcwd()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jul 20, 2014 at 6:21 PM, René Scharfe <l.s.r@xxxxxx> wrote:
> +char *xgetcwd(void)
> +{
> +       struct strbuf sb = STRBUF_INIT;
> +       if (strbuf_add_cwd(&sb))
> +               die_errno("unable to get current working directory");

Wrap the string with _() to make it translatable? I can't see why any
script would want to grep this string..

> +       return strbuf_detach(&sb, NULL);
> +}
-- 
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




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]