diff options
author | 2016-01-06 17:57:22 +0000 | |
---|---|---|
committer | 2016-01-06 17:57:22 +0000 | |
commit | ef90095209ff8ab4b79c8ea67f0873409c519d92 (patch) | |
tree | b3fd21a2f755d0397f7e1d84c995308e7ad4d1e6 /lib/libc/stdlib/malloc.3 | |
parent | malloc option 'a' to go away (diff) | |
download | wireguard-openbsd-ef90095209ff8ab4b79c8ea67f0873409c519d92.tar.xz wireguard-openbsd-ef90095209ff8ab4b79c8ea67f0873409c519d92.zip |
Long ago, malloc internally had two kinds of failures, warnings and errors.
The 'A' option elevated warnings to errors, and has been the default for some
time. Then warnings were effectively eliminated in favor of everything
being an error, but then the 'a' flag turned real errors into warnings!
Remove the 'a' option entirely. You shouldn't have used it anyway.
ok tb tdeval
Diffstat (limited to 'lib/libc/stdlib/malloc.3')
-rw-r--r-- | lib/libc/stdlib/malloc.3 | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3 index 27645b5a805..6cb6011ae4b 100644 --- a/lib/libc/stdlib/malloc.3 +++ b/lib/libc/stdlib/malloc.3 @@ -30,9 +30,9 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: malloc.3,v 1.91 2015/09/14 13:08:01 schwarze Exp $ +.\" $OpenBSD: malloc.3,v 1.92 2016/01/06 17:57:22 tedu Exp $ .\" -.Dd $Mdocdate: September 14 2015 $ +.Dd $Mdocdate: January 6 2016 $ .Dt MALLOC 3 .Os .Sh NAME @@ -345,10 +345,7 @@ or detect an error condition, a message will be printed to file descriptor 2 (not using stdio). -Errors will result in the process being aborted, -unless the -.Cm a -option has been specified. +Errors will result in the process being aborted. .Pp Here is a brief description of the error messages and what they mean: .Bl -tag -width Ds |