Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdlib Fix manually applied patch. Mark up NULL wit...



details:   https://anonhg.NetBSD.org/src/rev/ddfe92c0774b
branches:  trunk
changeset: 345595:ddfe92c0774b
user:      wiz <wiz%NetBSD.org@localhost>
date:      Wed Jun 01 08:32:05 2016 +0000

description:
Fix manually applied patch. Mark up NULL with Dv.

diffstat:

 lib/libc/stdlib/malloc.3 |  14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diffs (28 lines):

diff -r d91a0378c20c -r ddfe92c0774b lib/libc/stdlib/malloc.3
--- a/lib/libc/stdlib/malloc.3  Wed Jun 01 08:24:03 2016 +0000
+++ b/lib/libc/stdlib/malloc.3  Wed Jun 01 08:32:05 2016 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: malloc.3,v 1.47 2016/06/01 05:40:26 pgoyette Exp $
+.\" $NetBSD: malloc.3,v 1.48 2016/06/01 08:32:05 wiz Exp $
 .\"
 .\" Copyright (c) 1980, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -144,11 +144,13 @@
 .Fn realloc
 function always leaves the original buffer intact
 when an error occurs.
-+If
-+.Ar size
-+is 0, either NULL or a pointer that can be safely passed to
-+.Xr free 3
-+is returned.
+If
+.Ar size
+is 0, either
+.Dv NULL
+or a pointer that can be safely passed to
+.Xr free 3
+is returned.
 .Pp
 The
 .Fn free



Home | Main Index | Thread Index | Old Index