Date: Tue, 26 Apr 2016 11:39:32 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298626 - head/bin/csh Message-ID: <201604261139.u3QBdWuo071895@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Tue Apr 26 11:39:32 2016 New Revision: 298626 URL: https://svnweb.freebsd.org/changeset/base/298626 Log: Stop using sbrk in csh. This is a legacy interface and its use within csh is invalid. It is used to find the size of allocated memory. As malloc may allocate memory with mmap it will fail to take this memory into account. Obtained from: brooks Modified: head/bin/csh/config.h Modified: head/bin/csh/config.h ============================================================================== --- head/bin/csh/config.h Tue Apr 26 11:15:48 2016 (r298625) +++ head/bin/csh/config.h Tue Apr 26 11:39:32 2016 (r298626) @@ -99,7 +99,7 @@ #define HAVE_PATHS_H 1 /* Define to 1 if you have the `sbrk' function. */ -#define HAVE_SBRK 1 +/* #undef HAVE_SBRK 1 */ /* Define to 1 if you have the `setpgid' function. */ #define HAVE_SETPGID 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604261139.u3QBdWuo071895>