bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] Re: DNS SRV: getsrv/freesrvhost


From: Paul Eggert
Subject: Re: [bug-gnulib] Re: DNS SRV: getsrv/freesrvhost
Date: Sat, 25 Dec 2004 20:40:28 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Simon Josefsson <address@hidden> writes:

> http://lists.gnu.org/archive/html/bug-gnulib/2004-12/msg00055.html

I suspect that nobody else needs the function, which is why nobody
replied.  If only one program needs it, I'd leave it in that program
for now.

The copying conditions seem OK, but a quick glance shows the code
isn't portable, e.g., it assumes int is the same width as pointer.
And it uses bad coding style, e.g., it doesn't check whether malloc
returns NULL.  It might be better to start over.




reply via email to

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