free: added remaining missing nls support

This commit is contained in:
Jim Warner 2011-11-03 05:37:10 -05:00 committed by Sami Kerola
parent faed131f10
commit 7b9b0c8d18

6
free.c
View File

@ -11,11 +11,13 @@
* Copyright 2003 Robert Love
* Copyright 2004 Albert Cahalan
*/
#include "proc/sysinfo.h"
#include "proc/version.h"
#include "c.h"
#include "nls.h"
#include <locale.h>
#include <errno.h>
#include <limits.h>
#include <ctype.h>
@ -204,6 +206,10 @@ int main(int argc, char **argv)
args.repeat_interval = 1000000;
args.repeat_counter = 0;
setlocale (LC_ALL, "");
bindtextdomain(PACKAGE, LOCALEDIR);
textdomain(PACKAGE);
while ((c = getopt_long(argc, argv, "bkmghlotc:s:V", longopts, NULL)) != -1)
switch (c) {
case 'b':