aboutsummaryrefslogtreecommitdiff
path: root/bin/csh
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2016-04-26 11:39:32 +0000
committerAndrew Turner <andrew@FreeBSD.org>2016-04-26 11:39:32 +0000
commit6487f7871655b63ee955efe7793ac2dd3cd9a94a (patch)
tree560052cabf511e1c0855831fee6e690ace8a3d8e /bin/csh
parent75bf4f5a11fe9a43a72b1563f5910c8f17d55269 (diff)
downloadsrc-6487f7871655b63ee955efe7793ac2dd3cd9a94a.tar.gz
src-6487f7871655b63ee955efe7793ac2dd3cd9a94a.zip
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
Notes
Notes: svn path=/head/; revision=298626
Diffstat (limited to 'bin/csh')
-rw-r--r--bin/csh/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/csh/config.h b/bin/csh/config.h
index 99aed5f7c64e..103ceb604062 100644
--- a/bin/csh/config.h
+++ b/bin/csh/config.h
@@ -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