bug-findutils
[Top][All Lists]
Advanced

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

Bug in findutils-4.1.7


From: Gordon Lack
Subject: Bug in findutils-4.1.7
Date: Tue, 02 Apr 2002 14:23:57 +0100

   This obtains when using the SGI C compiler.  locate/locate.c contains
the definition and usage:

# define N_(String) (String)
....
static const char warn_name_units[] = N_("days");

   However, the SGI C compiler expects an aggregrate initialization to
be in {} (isn't this "standard" C anyway?).

   This macro definition also exists in

./find/find.c
./find/fstype.c
./find/parser.c
./find/pred.c
./find/tree.c
./find/util.c
./xargs/xargs.c
./locate/code.c

but only seems to be used on locate.c

   Patch to fix is:

--- locate.c.orig       Sun May 20 21:39:37 2001
+++ locate.c    Thu Mar 28 14:58:04 2002
@@ -91,7 +91,7 @@
 #ifdef gettext_noop
 # define N_(String) gettext_noop (String)
 #else
-# define N_(String) (String)
+# define N_(String) {String}
 #endif
 
 #include "locatedb.h"


--
--------- Gordon Lack --------------- address@hidden  ------------
This message *may* reflect my personal opinion.  It is *not* intended
to reflect those of my employer, or anyone else.



reply via email to

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