summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-14 01:53:53 +0000
committerobrien <obrien@FreeBSD.org>2002-05-14 01:53:53 +0000
commit069c7c8d3a6bfa30bc8fe1210c9175e7d7c2b983 (patch)
tree6710aa942775dfbe951755ad396c4372935e2f53 /contrib/gcc
parent7d64ac0ab2fed32992a1776e2875c7c9d5682ba5 (diff)
downloadFreeBSD-src-069c7c8d3a6bfa30bc8fe1210c9175e7d7c2b983.zip
FreeBSD-src-069c7c8d3a6bfa30bc8fe1210c9175e7d7c2b983.tar.gz
Merge c-common.c rev 1.10 into GCC 3.1
Clarify that the "yields only last 2 digits of year in some locales" warning does not apply to BSD. Submitted by: ache
Diffstat (limited to 'contrib/gcc')
-rw-r--r--contrib/gcc/c-format.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/gcc/c-format.c b/contrib/gcc/c-format.c
index d52cfba..a5dc89c 100644
--- a/contrib/gcc/c-format.c
+++ b/contrib/gcc/c-format.c
@@ -19,6 +19,8 @@ along with GCC; see the file COPYING. If not, write to the Free
Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
+/* $FreeBSD$ */
+
#include "config.h"
#include "system.h"
#include "tree.h"
@@ -2112,7 +2114,7 @@ check_format_info_main (status, res, info, format_chars, format_length,
else if (strchr (fci->flags2, '2') != 0)
y2k_level = 2;
if (y2k_level == 3)
- status_warning (status, "`%%%c' yields only last 2 digits of year in some locales",
+ status_warning (status, "`%%%c' yields only last 2 digits of year in some locales on non-BSD systems",
format_char);
else if (y2k_level == 2)
status_warning (status, "`%%%c' yields only last 2 digits of year", format_char);
OpenPOWER on IntegriCloud