summaryrefslogtreecommitdiff
path: root/src/printf.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-03-05 17:44:08 +0000
committerJim Meyering <jim@meyering.net>2003-03-05 17:44:08 +0000
commit57bdc54b219e0e95c80f7e31ac1510f533981014 (patch)
tree7a87fc5f936a397e0c57d5dd4ee443a6d7c32f4e /src/printf.c
parent8e111ca3093c9a3d546a0451bb61476274236586 (diff)
downloadcoreutils-57bdc54b219e0e95c80f7e31ac1510f533981014.tar.xz
(print_esc): Remove pointless comparison of unsigned
integer with zero, to avoid a warning from Intel's ecc.
Diffstat (limited to 'src/printf.c')
-rw-r--r--src/printf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/printf.c b/src/printf.c
index 8c1ba1755..8c5c1aa65 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -1,5 +1,5 @@
/* printf - format and print data
- Copyright (C) 1990-2002, Free Software Foundation, Inc.
+ Copyright (C) 1990-2003, Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -283,7 +283,7 @@ print_esc (const char *escstart)
0000009F, or 0000D800 through 0000DFFF inclusive. A universal
character name shall not designate a character in the required
character set. */
- if ((uni_value >= 0x00 && uni_value <= 0x9f
+ if ((uni_value <= 0x9f
&& uni_value != 0x24 && uni_value != 0x40 && uni_value != 0x60)
|| (uni_value >= 0xd800 && uni_value <= 0xdfff))
error (EXIT_FAILURE, 0, _("invalid universal character name \\%c%0*x"),