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 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"