1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
--- src/fuser.c.nonls~ Fri Sep 27 12:58:54 2002
+++ src/fuser.c Tue Jun 8 20:55:24 2004
@@ -31,9 +31,13 @@
#include <linux/kdev_t.h> /* for MKDEV */
#include <linux/major.h> /* for LOOP_MAJOR */
#endif
+#ifdef USE_NLS
#include <libintl.h>
#include <locale.h>
#define _(String) gettext (String)
+#else
+#define _(String) (String)
+#endif
#include "comm.h"
#include "loop.h" /* for loop_info */
@@ -981,9 +985,11 @@
no_files = 1;
/* Setup the i18n */
+#ifdef USE_NLS
setlocale(LC_ALL, "");
bindtextdomain(PACKAGE, LOCALEDIR);
textdomain(PACKAGE);
+#endif
if (argc < 2)
usage ();
--- src/killall.c.nonls~ Tue Jun 8 20:52:00 2004
+++ src/killall.c Tue Jun 8 20:55:24 2004
@@ -24,9 +24,13 @@
#include <fs_secure.h>
#include <ss.h>
#endif /*FLASK_LINUX*/
+#ifdef USE_NLS
#include <libintl.h>
#include <locale.h>
#define _(String) gettext (String)
+#else
+#define _(String) (String)
+#endif
#include "comm.h"
#include "signals.h"
@@ -461,9 +465,11 @@
sig_num = SIGTERM;
/* Setup the i18n */
+#ifdef USE_NLS
setlocale(LC_ALL, "");
bindtextdomain(PACKAGE, LOCALEDIR);
textdomain(PACKAGE);
+#endif
opterr = 0;
while ( (optc = getopt_long_only(argc,argv,"egilqs:vwS:c:V",options,NULL)) != EOF) {
|