[Top][All Lists]
[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
- [Findutils-patches] [PATCH 05/19] Don't include xalloc.h where we don't use it., (continued)
- [Findutils-patches] [PATCH 05/19] Don't include xalloc.h where we don't use it., James Youngman, 2010/04/02
- [Findutils-patches] [PATCH 03/19] Fix some space-followed-by-tab sequences., James Youngman, 2010/04/02
- [Findutils-patches] [PATCH 06/19] Avoid false positives for the sc_prohibit_test_minus_ao syntax check., James Youngman, 2010/04/02
- [Findutils-patches] [PATCH 04/19] Fix some compilation unused-result and missing-declaration warnings., James Youngman, 2010/04/02
- [Findutils-patches] [PATCH 08/19] Move safe_atoi out into a separate module., James Youngman, 2010/04/02
- [Findutils-patches] [PATCH 09/19] Remove some obsolete source files from POTFILES.in, James Youngman, 2010/04/02
- [Findutils-patches] [PATCH 10/19] Remove files which exist but have no translated messages.,
James Youngman <=
- [Findutils-patches] [PATCH 11/19] Avoid sscanf. Avoid false positives for sc_prohibit_atoi_atof., James Youngman, 2010/04/02
- [Findutils-patches] [PATCH 07/19] configure.ac: Quote the first argument to AC_DEFINE., James Youngman, 2010/04/02
- [Findutils-patches] [PATCH 13/19] Enable syntax checker sc_the_the, detecting doubled 'the'., James Youngman, 2010/04/02
- [Findutils-patches] [PATCH 12/19] sc_prohibit_strcmp gives false positives when neither argument is a constant, so skip that check, James Youngman, 2010/04/02
- [Findutils-patches] [PATCH 14/19] Avoid sc_prohibit_stat_st_blocks check, since it is broken., James Youngman, 2010/04/02
- [Findutils-patches] [PATCH 16/19] Use set_program_name() to remember the programs' names., James Youngman, 2010/04/02
- [Findutils-patches] [PATCH 15/19] Avoid using magic numbers as exit statuses., James Youngman, 2010/04/02
- [Findutils-patches] [PATCH 18/19] cfg.mk: simplify variables, James Youngman, 2010/04/02