findutils-patches
[Top][All Lists]
Advanced

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

[Findutils-patches] [PATCH 10/19] Remove files which exist but have no t


From: James Youngman
Subject: [Findutils-patches] [PATCH 10/19] Remove files which exist but have no translated messages.
Date: Fri, 2 Apr 2010 23:47:10 +0100

* po/POTFILES.in: Remove dircallback.c, listfile.c.
* lib/listfile.c: Don't include libintl, since there are no
translated messages in this file.
* lib/dircallback.c: Likewise.

Signed-off-by: James Youngman <address@hidden>
---
 ChangeLog         |    7 +++++++
 lib/dircallback.c |   17 -----------------
 lib/listfile.c    |   18 ------------------
 po/POTFILES.in    |    2 --
 4 files changed, 7 insertions(+), 37 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4163d15..fd99170 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2010-04-02  James Youngman  <address@hidden>
 
+       * po/POTFILES.in: Remove source files we don't maintain any more.
+       Also remove files which exist but have no translated messages
+       (dircallback.c, listfile.c).
+       * lib/listfile.c: Don't include libintl, since there are no
+       translated messages in this file.
+       * lib/dircallback.c: Likewise.
+
        Move safe_atoi out into a separate module.
        * find/parser.c: Include "safe-atoi.h".  Remove the body of safe_atoi.
        (parse_group): pass options.err_quoting_style to safe_atoi.
diff --git a/lib/dircallback.c b/lib/dircallback.c
index 1c11c5a..dda89fc 100644
--- a/lib/dircallback.c
+++ b/lib/dircallback.c
@@ -33,23 +33,6 @@
 #include "save-cwd.h"
 
 
-#if ENABLE_NLS
-# include <libintl.h>
-# define _(Text) gettext (Text)
-#else
-# define _(Text) Text
-#define textdomain(Domain)
-#define bindtextdomain(Package, Directory)
-#endif
-#ifdef gettext_noop
-# define N_(String) gettext_noop (String)
-#else
-/* See locate.c for explanation as to why not use (String) */
-# define N_(String) String
-#endif
-
-
-
 int
 run_in_dir (int dir_fd, int (*callback)(void*), void *usercontext)
 {
diff --git a/lib/listfile.c b/lib/listfile.c
index c3a93e3..19db768 100644
--- a/lib/listfile.c
+++ b/lib/listfile.c
@@ -56,24 +56,6 @@
 
 
 
-
-#if ENABLE_NLS
-# include <libintl.h>
-# define _(Text) gettext (Text)
-#else
-# define _(Text) Text
-#define textdomain(Domain)
-#define bindtextdomain(Package, Directory)
-#endif
-#ifdef gettext_noop
-# define N_(String) gettext_noop (String)
-#else
-/* See locate.c for explanation as to why not use (String) */
-# define N_(String) String
-#endif
-
-
-
 /* Get or fake the disk device blocksize.
    Usually defined by sys/param.h (if at all).  */
 #ifndef DEV_BSIZE
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ef3485a..db624e0 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -14,9 +14,7 @@ find/pred.c
 find/tree.c
 find/util.c
 lib/buildcmd.c
-lib/dircallback.c
 lib/findutils-version.c
-lib/listfile.c
 lib/safe-atoi.c
 lib/regextype.c
 locate/code.c
-- 
1.7.0





reply via email to

[Prev in Thread] Current Thread [Next in Thread]