-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Following Paul's patch on Mar 11, the time_r module caused a compile warning:
make[2]: Entering directory `/home/eblake/gnulib/testdir4380/build/lib'
gcc -DHAVE_CONFIG_H -I. -I../../lib -I.. -Wall -Werror -c
../../lib/time_r.c
../../lib/time_r.c:31: warning: 'copy_string_result' defined but not used
make[2]: *** [time_r.o] Error 1
I assume it was okay that I checked in this obvious patch:
2006-03-24 Eric Blake <[EMAIL PROTECTED]>
* time_r.c (copy_string_result): Remove, as it is no longer used.
- --
Life is short - so eat dessert first!
Eric Blake [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEJMmJ84KuGfSFAYARAsLVAJ49/c0TeAe5iA25GeZCKWcN2Rq97gCfV9zj
u2FfH7+kJ+rUtR7VyIlGyX8=
=xUFw
-----END PGP SIGNATURE-----
Index: lib/time_r.c
===================================================================
RCS file: /sources/gnulib/gnulib/lib/time_r.c,v
retrieving revision 1.5
diff -u -p -r1.5 time_r.c
--- lib/time_r.c 12 Mar 2006 07:58:12 -0000 1.5
+++ lib/time_r.c 25 Mar 2006 03:47:03 -0000
@@ -26,14 +26,6 @@
#include <string.h>
-static char *
-copy_string_result (char *dest, char const *src)
-{
- if (! src)
- return 0;
- return strcpy (dest, src);
-}
-
static struct tm *
copy_tm_result (struct tm *dest, struct tm const *src)
{
_______________________________________________
bug-gnulib mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnulib