Re: [PATCH] fix build with --disable-nls

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

 



 Hi Mark,

On Thu, Aug 30, 2007 at 06:11:46PM +0200, Mark Rosenstand wrote:

> --- util-linux-2.13-pre1/include/nls.h
> +++ util-linux-2.13-pre1/include/nls.h
> @@ -17,6 +17,8 @@
>  # define bindtextdomain(Domain, Directory) /* empty */
>  # undef textdomain
>  # define textdomain(Domain) /* empty */
> +# undef setlocale
> +# define setlocale(category, locale) /* empty */
>  # define _(Text) (Text)
>  # define N_(Text) (Text)
>  #endif

 Well, I think NLS support mostly means LC_MESSAGES (gettext stuff),
 not all locale stuff. See for example coreutils where is the same
 --disable-nls behaviour.

 Do you have a real life example with sucking setlocale()? Maybe we
 can think about --disable-locale.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux