This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/3883] New: Wrong comment in wchar.h
- From: "anton dot nik at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 18 Jan 2007 11:04:01 -0000
- Subject: [Bug libc/3883] New: Wrong comment in wchar.h
- Reply-to: sourceware-bugzilla at sourceware dot org
2007-01-18 Anton Nikishaev <anton.nik@gmail.com>
* wcsmbs/wchar.h (wcstoll): Fix comment, function returns value of
type `long long int', not `long int'.
(wcstoq): Likewise.
--- libc/wcsmbs/wchar.h.~1.65.~ 2006-09-27 20:56:30.000000000 +0500
+++ libc/wcsmbs/wchar.h 2007-01-18 14:34:41.000000000 +0400
@@ -414,7 +414,7 @@
__THROW;
#if defined __USE_ISOC99 || (defined __GNUC__ && defined __USE_GNU)
-/* Convert initial portion of wide string NPTR to `long int'
+/* Convert initial portion of wide string NPTR to `long long int'
representation. */
__extension__
extern long long int wcstoll (__const wchar_t *__restrict __nptr,
@@ -431,7 +431,7 @@
__END_NAMESPACE_C99
#if defined __GNUC__ && defined __USE_GNU
-/* Convert initial portion of wide string NPTR to `long int'
+/* Convert initial portion of wide string NPTR to `long long int'
representation. */
__extension__
extern long long int wcstoq (__const wchar_t *__restrict __nptr,
--
Summary: Wrong comment in wchar.h
Product: glibc
Version: unspecified
Status: NEW
Severity: minor
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: anton dot nik at gmail dot com
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=3883
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.