[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: The patch of glibc which allows the user to override the pfinet serv
Re: The patch of glibc which allows the user to override the pfinet server
Sat, 5 Jul 2008 00:21:06 +0200
On Wed, Jul 02, 2008 at 08:42:43PM +0200, zhengda wrote:
> The new version of the patch is below.
Hm, what about dropping/replacing the "_PATH" bit, as discussed in the
> I wonder if I can use __snprintf(). The code in the original glibc
> doesn't use it.
I'm not a glibc hacker; but I would be very surprised if it was a
> + __snprintf (sock_serv_env_name, 30, "SOCK_SERV_%d_PATH", domain);
I'd say use "sizeof sock_serv_env_name", rather than hard-coding 30, for