Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/stdlib Note that the return type sould arguably be ...
details: https://anonhg.NetBSD.org/src/rev/f0917f0fdd3c
branches: trunk
changeset: 754463:f0917f0fdd3c
user: jruoho <jruoho%NetBSD.org@localhost>
date: Sat May 01 08:35:52 2010 +0000
description:
Note that the return type sould arguably be intmax_t instead of long long.
diffstat:
lib/libc/stdlib/strsuftoll.3 | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r c2ec812ff2a4 -r f0917f0fdd3c lib/libc/stdlib/strsuftoll.3
--- a/lib/libc/stdlib/strsuftoll.3 Sat May 01 08:30:00 2010 +0000
+++ b/lib/libc/stdlib/strsuftoll.3 Sat May 01 08:35:52 2010 +0000
@@ -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.
Home |
Main Index |
Thread Index |
Old Index