Module Name: src
Committed By: jruoho
Date: Sat May 1 08:35:52 UTC 2010
Modified Files:
src/lib/libc/stdlib: strsuftoll.3
Log Message:
Note that the return type sould arguably be intmax_t instead of long long.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/stdlib/strsuftoll.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/stdlib/strsuftoll.3
diff -u src/lib/libc/stdlib/strsuftoll.3:1.9 src/lib/libc/stdlib/strsuftoll.3:1.10
--- src/lib/libc/stdlib/strsuftoll.3:1.9 Sat May 1 08:30:00 2010
+++ src/lib/libc/stdlib/strsuftoll.3 Sat May 1 08:35:52 2010
@@ -1,4 +1,4 @@
-.\" $NetBSD: strsuftoll.3,v 1.9 2010/05/01 08:30:00 jruoho Exp $
+.\" $NetBSD: strsuftoll.3,v 1.10 2010/05/01 08:35:52 jruoho Exp $
.\"
.\" Copyright (c) 2002,2007 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -135,6 +135,11 @@
.Dv NULL ,
pointers.
.It
+Arguably the return type should be
+.Vt intmax_t
+instead of
+.Vt long long .
+.It
The
.Fn strsuftollx
function is prone to buffer overflows if used incorrectly.