diff options
author | andrew <andrew@FreeBSD.org> | 2016-04-26 11:39:32 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2016-04-26 11:39:32 +0000 |
commit | 392b4907a4ffb8e699201d053a85e4a32b845a6a (patch) | |
tree | 560052cabf511e1c0855831fee6e690ace8a3d8e /bin | |
parent | edea0f925cad92f7d3c1a17252567ebd2c4c953a (diff) | |
download | FreeBSD-src-392b4907a4ffb8e699201d053a85e4a32b845a6a.zip FreeBSD-src-392b4907a4ffb8e699201d053a85e4a32b845a6a.tar.gz |
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
Diffstat (limited to 'bin')
-rw-r--r-- | bin/csh/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/csh/config.h b/bin/csh/config.h index 99aed5f..103ceb6 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 |