[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getaddrinfo.c: don't require snprintf; new function: shorttostr
From: |
Eric Blake-1 |
Subject: |
Re: getaddrinfo.c: don't require snprintf; new function: shorttostr |
Date: |
Mon, 23 Oct 2006 15:29:22 -0700 (PDT) |
> I've checked it in:
>
> 2006-10-23 Jim Meyering <address@hidden>
>
> * lib/getaddrinfo.c (getnameinfo): Use new lightweight uinttostr,
> in place of snprintf.
You missed a piece:
gcc -Wall -DHAVE_CONFIG_H -I. -I.. -I../../gllib -g -O2 -MT
getaddrinfo.o -MD -MP -MF .deps/getaddrinfo.Tpo -c -o getaddrinfo.o
../../gllib/getaddrinfo.c
../../gllib/getaddrinfo.c: In function `getnameinfo':
../../gllib/getaddrinfo.c:412: warning: implicit declaration of function
`uinttostr'
../../gllib/getaddrinfo.c:412: warning: initialization makes pointer from
integer without a cast
I checked this in:
2006-10-23 Eric Blake <address@hidden>
* lib/getaddrinfo.c (includes): Add missing include.
Index: lib/getaddrinfo.c
===================================================================
RCS file: /sources/gnulib/gnulib/lib/getaddrinfo.c,v
retrieving revision 1.17
diff -u -r1.17 getaddrinfo.c
--- lib/getaddrinfo.c 23 Oct 2006 06:03:01 -0000 1.17
+++ lib/getaddrinfo.c 23 Oct 2006 22:22:04 -0000
@@ -40,6 +40,7 @@
#include "inet_ntop.h"
#include "intprops.h"
+#include "inttostr.h"
#include "strdup.h"
/* BeOS has AF_INET, but not PF_INET. */
--
View this message in context:
http://www.nabble.com/getaddrinfo.c%3A-don%27t-require-snprintf--new-function%3A-shorttostr-tf2485479.html#a6963514
Sent from the Gnulib mailing list archive at Nabble.com.