projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
03625c4
)
Oops, weird typos in last patch.
author
Bruno Haible
<bruno@clisp.org>
Fri, 28 Jul 2006 17:32:33 +0000
(17:32 +0000)
committer
Bruno Haible
<bruno@clisp.org>
Fri, 28 Jul 2006 17:32:33 +0000
(17:32 +0000)
lib/mbchar.h
patch
|
blob
|
history
lib/wcwidth.h
patch
|
blob
|
history
diff --git
a/lib/mbchar.h
b/lib/mbchar.h
index eff18ea7706eeeda35f74fe05bcd212ce58d6fcd..52b1075786a49e1f2c5b15ea61d2c06b44a957d4 100644
(file)
--- a/
lib/mbchar.h
+++ b/
lib/mbchar.h
@@
-160,7
+160,7
@@
/* FreeBSD 4.4 to 4.11 has <wctype.h> but lacks the functions.
Assume all 12 functions are implemented the same way, or not at all. */
#if !defined iswalnum && !HAVE_ISWCNTRL
/* FreeBSD 4.4 to 4.11 has <wctype.h> but lacks the functions.
Assume all 12 functions are implemented the same way, or not at all. */
#if !defined iswalnum && !HAVE_ISWCNTRL
-st
s
tic inline int
+st
a
tic inline int
iswalnum (wint_t wc)
{
return (wc >= 0 && wc < 128
iswalnum (wint_t wc)
{
return (wc >= 0 && wc < 128
@@
-170,7
+170,7
@@
iswalnum (wint_t wc)
# define iswalnum iswalnum
#endif
#if !defined iswalpha && !HAVE_ISWCNTRL
# define iswalnum iswalnum
#endif
#if !defined iswalpha && !HAVE_ISWCNTRL
-st
s
tic inline int
+st
a
tic inline int
iswalpha (wint_t wc)
{
return (wc >= 0 && wc < 128
iswalpha (wint_t wc)
{
return (wc >= 0 && wc < 128
@@
-180,7
+180,7
@@
iswalpha (wint_t wc)
# define iswalpha iswalpha
#endif
#if !defined iswblank && !HAVE_ISWCNTRL
# define iswalpha iswalpha
#endif
#if !defined iswblank && !HAVE_ISWCNTRL
-st
s
tic inline int
+st
a
tic inline int
iswblank (wint_t wc)
{
return (wc >= 0 && wc < 128
iswblank (wint_t wc)
{
return (wc >= 0 && wc < 128
@@
-190,7
+190,7
@@
iswblank (wint_t wc)
# define iswblank iswblank
#endif
#if !defined iswcntrl && !HAVE_ISWCNTRL
# define iswblank iswblank
#endif
#if !defined iswcntrl && !HAVE_ISWCNTRL
-st
s
tic inline int
+st
a
tic inline int
iswcntrl (wint_t wc)
{
return (wc >= 0 && wc < 128
iswcntrl (wint_t wc)
{
return (wc >= 0 && wc < 128
@@
-200,7
+200,7
@@
iswcntrl (wint_t wc)
# define iswcntrl iswcntrl
#endif
#if !defined iswdigit && !HAVE_ISWCNTRL
# define iswcntrl iswcntrl
#endif
#if !defined iswdigit && !HAVE_ISWCNTRL
-st
s
tic inline int
+st
a
tic inline int
iswdigit (wint_t wc)
{
return (wc >= '0' && wc <= '9');
iswdigit (wint_t wc)
{
return (wc >= '0' && wc <= '9');
@@
-208,7
+208,7
@@
iswdigit (wint_t wc)
# define iswdigit iswdigit
#endif
#if !defined iswgraph && !HAVE_ISWCNTRL
# define iswdigit iswdigit
#endif
#if !defined iswgraph && !HAVE_ISWCNTRL
-st
s
tic inline int
+st
a
tic inline int
iswgraph (wint_t wc)
{
return (wc >= 0 && wc < 128
iswgraph (wint_t wc)
{
return (wc >= 0 && wc < 128
@@
-218,7
+218,7
@@
iswgraph (wint_t wc)
# define iswgraph iswgraph
#endif
#if !defined iswlower && !HAVE_ISWCNTRL
# define iswgraph iswgraph
#endif
#if !defined iswlower && !HAVE_ISWCNTRL
-st
s
tic inline int
+st
a
tic inline int
iswlower (wint_t wc)
{
return (wc >= 0 && wc < 128
iswlower (wint_t wc)
{
return (wc >= 0 && wc < 128
@@
-228,7
+228,7
@@
iswlower (wint_t wc)
# define iswlower iswlower
#endif
#if !defined iswprint && !HAVE_ISWCNTRL
# define iswlower iswlower
#endif
#if !defined iswprint && !HAVE_ISWCNTRL
-st
s
tic inline int
+st
a
tic inline int
iswprint (wint_t wc)
{
return (wc >= 0 && wc < 128
iswprint (wint_t wc)
{
return (wc >= 0 && wc < 128
@@
-238,7
+238,7
@@
iswprint (wint_t wc)
# define iswprint iswprint
#endif
#if !defined iswpunct && !HAVE_ISWCNTRL
# define iswprint iswprint
#endif
#if !defined iswpunct && !HAVE_ISWCNTRL
-st
s
tic inline int
+st
a
tic inline int
iswpunct (wint_t wc)
{
return (wc >= 0 && wc < 128
iswpunct (wint_t wc)
{
return (wc >= 0 && wc < 128
@@
-250,7
+250,7
@@
iswpunct (wint_t wc)
# define iswpunct iswpunct
#endif
#if !defined iswspace && !HAVE_ISWCNTRL
# define iswpunct iswpunct
#endif
#if !defined iswspace && !HAVE_ISWCNTRL
-st
s
tic inline int
+st
a
tic inline int
iswspace (wint_t wc)
{
return (wc >= 0 && wc < 128
iswspace (wint_t wc)
{
return (wc >= 0 && wc < 128
@@
-261,7
+261,7
@@
iswspace (wint_t wc)
# define iswspace iswspace
#endif
#if !defined iswupper && !HAVE_ISWCNTRL
# define iswspace iswspace
#endif
#if !defined iswupper && !HAVE_ISWCNTRL
-st
s
tic inline int
+st
a
tic inline int
iswupper (wint_t wc)
{
return (wc >= 0 && wc < 128
iswupper (wint_t wc)
{
return (wc >= 0 && wc < 128
@@
-271,7
+271,7
@@
iswupper (wint_t wc)
# define iswupper iswupper
#endif
#if !defined iswxdigit && !HAVE_ISWCNTRL
# define iswupper iswupper
#endif
#if !defined iswxdigit && !HAVE_ISWCNTRL
-st
s
tic inline int
+st
a
tic inline int
iswxdigit (wint_t wc)
{
return (wc >= '0' && wc <= '9') || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'F');
iswxdigit (wint_t wc)
{
return (wc >= '0' && wc <= '9') || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'F');
diff --git
a/lib/wcwidth.h
b/lib/wcwidth.h
index 88656172357bd65c778acc708885f95a43d8edbd..37b83cb82256867a2b3ed221d348b37d0c724436 100644
(file)
--- a/
lib/wcwidth.h
+++ b/
lib/wcwidth.h
@@
-36,7
+36,7
@@
# include <wctype.h>
# endif
# if !defined iswprint && !HAVE_ISWPRINT
# include <wctype.h>
# endif
# if !defined iswprint && !HAVE_ISWPRINT
-st
s
tic inline int
+st
a
tic inline int
iswprint (wint_t wc)
{
return (wc >= 0 && wc < 128
iswprint (wint_t wc)
{
return (wc >= 0 && wc < 128