bug-inetutils
[Top][All Lists]
Advanced

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

Re: [bug-inetutils] From the malloc trenches!


From: Alfred M. Szmidt
Subject: Re: [bug-inetutils] From the malloc trenches!
Date: Sun, 20 Nov 2011 19:15:35 -0500

   we have presently two cases of

     #include <stdlib.h>
     #ifdef HAVE_MALLOC_H
     # include <malloc.h>
     #endif

   in the two source files

     libinetutils/localhost.c
     telnet/commands.c

   In all unices I am using, the proper prototype for malloc(3) is in
   <stdlib.h>, and any invocation of <malloc.h> issues a warning that
   its use is nowadays obsolete. Is there any known harm in actually
   removing these superfluous inclusions?

You can remove it; it is old cruft to use dlmalloc and friends.



reply via email to

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