Module Name: src Committed By: jschauma Date: Fri Oct 21 03:08:29 UTC 2022
Modified Files: src/lib/libc/time: ctime.3 Log Message: escape mathematical minus so it doesn't get rendered as a dash To generate a diff of this commit: cvs rdiff -u -r1.64 -r1.65 src/lib/libc/time/ctime.3 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/time/ctime.3 diff -u src/lib/libc/time/ctime.3:1.64 src/lib/libc/time/ctime.3:1.65 --- src/lib/libc/time/ctime.3:1.64 Fri Oct 21 03:05:15 2022 +++ src/lib/libc/time/ctime.3 Fri Oct 21 03:08:29 2022 @@ -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 @@ are determined. .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