diff options
author | tedu <> | 2016-01-06 17:57:22 +0000 |
---|---|---|
committer | tedu <> | 2016-01-06 17:57:22 +0000 |
commit | 9fab5fb01ddbd59e5aa97edb223fd1e132231682 (patch) | |
tree | 9e720cdb3ef90683db00bae19fd31300ed7ccf16 /src/lib/libc/stdlib/malloc.3 | |
parent | c0c3491a8e39b8f754d5d210441e118a58201189 (diff) | |
download | openbsd-9fab5fb01ddbd59e5aa97edb223fd1e132231682.tar.gz openbsd-9fab5fb01ddbd59e5aa97edb223fd1e132231682.tar.bz2 openbsd-9fab5fb01ddbd59e5aa97edb223fd1e132231682.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 'src/lib/libc/stdlib/malloc.3')
-rw-r--r-- | src/lib/libc/stdlib/malloc.3 | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3 index 27645b5a80..6cb6011ae4 100644 --- a/src/lib/libc/stdlib/malloc.3 +++ b/src/lib/libc/stdlib/malloc.3 | |||
@@ -30,9 +30,9 @@ | |||
30 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 30 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
31 | .\" SUCH DAMAGE. | 31 | .\" SUCH DAMAGE. |
32 | .\" | 32 | .\" |
33 | .\" $OpenBSD: malloc.3,v 1.91 2015/09/14 13:08:01 schwarze Exp $ | 33 | .\" $OpenBSD: malloc.3,v 1.92 2016/01/06 17:57:22 tedu Exp $ |
34 | .\" | 34 | .\" |
35 | .Dd $Mdocdate: September 14 2015 $ | 35 | .Dd $Mdocdate: January 6 2016 $ |
36 | .Dt MALLOC 3 | 36 | .Dt MALLOC 3 |
37 | .Os | 37 | .Os |
38 | .Sh NAME | 38 | .Sh NAME |
@@ -345,10 +345,7 @@ or | |||
345 | detect an error condition, | 345 | detect an error condition, |
346 | a message will be printed to file descriptor | 346 | a message will be printed to file descriptor |
347 | 2 (not using stdio). | 347 | 2 (not using stdio). |
348 | Errors will result in the process being aborted, | 348 | Errors will result in the process being aborted. |
349 | unless the | ||
350 | .Cm a | ||
351 | option has been specified. | ||
352 | .Pp | 349 | .Pp |
353 | Here is a brief description of the error messages and what they mean: | 350 | Here is a brief description of the error messages and what they mean: |
354 | .Bl -tag -width Ds | 351 | .Bl -tag -width Ds |