This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc/libio/bits stdio2.h
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 26 Sep 2007 20:43:43 -0000
- Subject: libc/libio/bits stdio2.h
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2007-09-26 20:43:43
Modified files:
libio/bits : stdio2.h
Log message:
(__fgets_chk_warn, __fread_chk_warn,
__fgets_unlocked_chk_warn, __fread_unlocked_chk_warn): New aliases
with __warnattr.
(fgets, fread, fgets_unlocked, fread_unlocked): Call __*_chk_warn
instead of __*_chk if compile time detectable overflow is found.
(__gets_alias): Rename to...
(__gets_warn): ... this. Add __warnattr.
(gets): Call __gets_warn instead of __gets_alias.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/libio/bits/stdio2.h.diff?cvsroot=glibc&r1=1.7&r2=1.8