projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* wcwidth.m4 (gl_FUNC_WCWIDTH): Simplify by using AC_CHECK_DECLS.
[gnulib.git]
/
lib
/
c-ctype.c
diff --git
a/lib/c-ctype.c
b/lib/c-ctype.c
index
eea7102
..
e3a2de5
100644
(file)
--- a/
lib/c-ctype.c
+++ b/
lib/c-ctype.c
@@
-14,7
+14,7
@@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
-Foundation, Inc., 5
9 Temple Place - Suite 330, Boston, MA 02111-1307
, USA. */
+Foundation, Inc., 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301
, USA. */
/* Specification. */
#include "c-ctype.h"
/* Specification. */
#include "c-ctype.h"
@@
-40,7
+40,7
@@
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
bool
c_isascii (int c)
{
bool
c_isascii (int c)
{
- return (
(c & ~0x7f) == 0
);
+ return (
c >= 0x00 && c <= 0x7f
);
}
bool
}
bool