Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/ssp Minus (one) needs a backslash before the minus.
details: https://anonhg.NetBSD.org/src/rev/725b9d4de6fb
branches: trunk
changeset: 780285:725b9d4de6fb
user: wiz <wiz%NetBSD.org@localhost>
date: Thu Jul 19 06:44:12 2012 +0000
description:
Minus (one) needs a backslash before the minus.
diffstat:
lib/libc/ssp/__builtin_object_size.3 | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r af53aa951eea -r 725b9d4de6fb lib/libc/ssp/__builtin_object_size.3
--- a/lib/libc/ssp/__builtin_object_size.3 Thu Jul 19 06:33:48 2012 +0000
+++ b/lib/libc/ssp/__builtin_object_size.3 Thu Jul 19 06:44:12 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: __builtin_object_size.3,v 1.9 2012/07/18 22:22:26 christos Exp $
+.\" $NetBSD: __builtin_object_size.3,v 1.10 2012/07/19 06:44:12 wiz Exp $
.\"
.\" Copyright (c) 2007 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -50,8 +50,8 @@
If the size of the object is not known or it has side effects the
.Fn __builtin_object_size
function returns:
-.Bl -tag -width (size_t)-1 -offset indent
-.It Dv (size_t)-1
+.Bl -tag -width (size_t)\-1 -offset indent
+.It Dv (size_t)\-1
for
.Fa type
.Dv 0
@@ -90,7 +90,7 @@
This is a non-standard, compiler-specific extension.
.Pp
Note that currently the object size calculation pass is only done at -O1
-or above, meaning that this function always returns -1 when the optimizer
+or above, meaning that this function always returns \-1 when the optimizer
is off.
.Pp
There are some discussions about always doing the object size pass, but
Home |
Main Index |
Thread Index |
Old Index