Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/time escape mathematical minus so it doesn't get re...



details:   https://anonhg.NetBSD.org/src/rev/e9f76a663c4f
branches:  trunk
changeset: 371960:e9f76a663c4f
user:      jschauma <jschauma%NetBSD.org@localhost>
date:      Fri Oct 21 03:08:29 2022 +0000

description:
escape mathematical minus so it doesn't get rendered as a dash

diffstat:

 lib/libc/time/ctime.3 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f6236b3fb1a0 -r e9f76a663c4f lib/libc/time/ctime.3
--- a/lib/libc/time/ctime.3     Fri Oct 21 03:05:15 2022 +0000
+++ b/lib/libc/time/ctime.3     Fri Oct 21 03:08:29 2022 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ctime.3,v 1.64 2022/10/21 03:05:15 jschauma Exp $
+.\" $NetBSD: ctime.3,v 1.65 2022/10/21 03:08:29 jschauma Exp $
 .\"
 .\" XXX: License missing?
 .\"
@@ -298,7 +298,7 @@
 .Pp
 The function returns the specified calendar time;
 if the calendar time cannot be represented, it returns
-.Va "(time_t)-1" .
+.Va "(time_t)\-1" .
 This can happen either because the resulting conversion would not fit
 in a
 .Vt time_t



Home | Main Index | Thread Index | Old Index