mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
This commit is contained in:
parent
8a75a69eaf
commit
4e3e26a2ed
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue