plex86-devel
[Top][All Lists]
Advanced

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

[Plex86-devel] [Patch #914] io_thread.c:<malloc.h> is deprecated; use <s


From: noreply
Subject: [Plex86-devel] [Patch #914] io_thread.c:<malloc.h> is deprecated; use <stdlib.h> instead
Date: Sun, 25 May 2003 21:55:04 -0000

Patch #914 has been updated. 

Project: 
Category: None
Status: Closed
Summary: io_thread.c:<malloc.h> is deprecated; use <stdlib.h> instead

Follow-Ups:

Date: Fri 01/03/03 at 07:38
By: mithy73

Comment:
The include file <malloc.h> has been deprecated for a long long time, and 
should no longer be used. 'man malloc' on Linux and FreeBSD recommend the use 
of <stdlib.h> instead. Patch for io_thread.c attached. <malloc.h> also appears 
(and should be replaced) in:

kernel/host-netbsd.c
kernel/host-freebsd.c
-------------------------------------------------------

Date: Fri 01/03/03 at 07:41
By: mithy73

Comment:
Whoops, ignore the last bits regarding kernel/host-*.c; I just realised they 
include <sys/malloc.h>, not <malloc.h>. So it's just 
user/plugins/shared/io_thread.c after all.
-------------------------------------------------------

Date: Sun 02/09/03 at 01:09
By: conrads

Comment:
In FreeBSD-CURRENT, using <malloc.h> will now actually generate not only a 
warning, but an error.  Don't know if this holds true yet for -STABLE, but it's 
only a matter of time if not.
-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://savannah.nongnu.org/patch/?func=detailpatch&patch_id=914&group_id=869




reply via email to

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