let ipkg fail when a package file to be installed is not found
[openwrt/staging/wigyori.git] / openwrt / package / squid / patches / 01-cross_compile.patch
1 diff -urN squid-2.5.STABLE13/configure squid-2.5.STABLE13.new/configure
2 --- squid-2.5.STABLE13/configure 2006-03-12 12:29:22.000000000 +0100
3 +++ squid-2.5.STABLE13.new/configure 2006-04-15 10:30:10.000000000 +0200
4 @@ -2441,10 +2441,6 @@
5 if test -z "$SSLLIB"; then
6 SSLLIB="-lcrypto" # for MD5 routines
7 fi
8 - if $PKGCONFIG --exists openssl; then
9 - SSLLIB="`$PKGCONFIG --libs openssl`"
10 - SSLFLAGS="`$PKGCONFIG --cflags openssl`"
11 - fi
12 CPPFLAGS="${SSLFLAGS} $CPPFLAGS"
13 fi
14
15 diff -urN squid-2.5.STABLE13/include/autoconf.h.in squid-2.5.STABLE13.new/include/autoconf.h.in
16 --- squid-2.5.STABLE13/include/autoconf.h.in 2005-09-13 02:12:34.000000000 +0200
17 +++ squid-2.5.STABLE13.new/include/autoconf.h.in 2006-04-15 10:29:39.000000000 +0200
18 @@ -729,10 +729,10 @@
19 #undef HAVE_OPENSSL_ERR_H
20
21 /* Define if you have the <openssl/md5.h> header file. */
22 -#undef HAVE_OPENSSL_MD5_H
23 +#define HAVE_OPENSSL_MD5_H 1
24
25 /* Define if you have the <openssl/ssl.h> header file. */
26 -#undef HAVE_OPENSSL_SSL_H
27 +#define HAVE_OPENSSL_SSL_H 1
28
29 /* Define if you have the <poll.h> header file. */
30 #undef HAVE_POLL_H
31 diff -urN squid-2.5.STABLE13/lib/Makefile.in squid-2.5.STABLE13.new/lib/Makefile.in
32 --- squid-2.5.STABLE13/lib/Makefile.in 2005-09-28 22:57:20.000000000 +0200
33 +++ squid-2.5.STABLE13.new/lib/Makefile.in 2006-04-15 10:29:39.000000000 +0200
34 @@ -63,6 +63,7 @@
35 host_triplet = @host@
36 AMTAR = @AMTAR@
37 AR = @AR@
38 +HOST_AR = ar
39 AR_R = @AR_R@
40 AUTH_LIBS = @AUTH_LIBS@
41 AUTH_MODULES = @AUTH_MODULES@
42 @@ -72,6 +73,7 @@
43 CACHE_HTTP_PORT = @CACHE_HTTP_PORT@
44 CACHE_ICP_PORT = @CACHE_ICP_PORT@
45 CC = @CC@
46 +HOST_CC = gcc
47 CGIEXT = @CGIEXT@
48 CPP = @CPP@
49 CRYPTLIB = @CRYPTLIB@
50 @@ -95,6 +97,8 @@
51 MV = @MV@
52 NTLM_AUTH_HELPERS = @NTLM_AUTH_HELPERS@
53 OBJEXT = @OBJEXT@
54 +HOST_OBJEXT = @OBJEXT@.$(shell uname -m)
55 +HOST_DEPEXT = .$(shell uname -m)
56 PACKAGE = @PACKAGE@
57 PERL = @PERL@
58 PKGCONFIG = @PKGCONFIG@
59 @@ -133,6 +137,7 @@
60 noinst_LIBRARIES = \
61 @LIBDLMALLOC@ \
62 libmiscutil.a \
63 + libmiscutil$(shell uname -m).a \
64 libntlmauth.a \
65 @LIBREGEX@
66
67 @@ -162,9 +167,34 @@
68 util.c \
69 uudecode.c
70
71 +libmiscutil_a_HOST_SOURCES = \
72 + Array.c \
73 + base64.c \
74 + getfullhostname.c \
75 + hash.c \
76 + heap.c \
77 + html_quote.c \
78 + iso3307.c \
79 + $(MD5SOURCE) \
80 + radix.c \
81 + rfc1035.c \
82 + rfc1123.c \
83 + rfc1738.c \
84 + rfc2617.c \
85 + safe_inet_addr.c \
86 + $(SNPRINTFSOURCE) \
87 + splay.c \
88 + Stack.c \
89 + stub_memaccount.c \
90 + util.c \
91 + uudecode.c
92 +
93 libmiscutil_a_LIBADD = \
94 @LIBOBJS@
95
96 +libmiscutil_a_HOST_LIBADD = \
97 + @LIBOBJS@
98 +
99 # $(top_srcdir)/include/version.h should be a dependency
100 libregex_a_SOURCES = \
101 GNUregex.c
102 @@ -193,9 +223,11 @@
103 libmiscutil_a_AR = $(AR) cru
104 libmiscutil_a_DEPENDENCIES = @LIBOBJS@
105 @NEED_OWN_MD5_TRUE@am__objects_1 = md5.$(OBJEXT)
106 +@NEED_OWN_MD5_TRUE@am__host_objects_1 = md5.$(HOST_OBJEXT)
107 @NEED_OWN_MD5_FALSE@am__objects_1 =
108 @NEED_OWN_SNPRINTF_FALSE@am__objects_2 =
109 @NEED_OWN_SNPRINTF_TRUE@am__objects_2 = snprintf.$(OBJEXT)
110 +@NEED_OWN_SNPRINTF_TRUE@am__host_objects_2 = snprintf.$(HOST_OBJEXT)
111 am_libmiscutil_a_OBJECTS = Array.$(OBJEXT) base64.$(OBJEXT) \
112 getfullhostname.$(OBJEXT) hash.$(OBJEXT) heap.$(OBJEXT) \
113 html_quote.$(OBJEXT) iso3307.$(OBJEXT) $(am__objects_1) \
114 @@ -203,7 +235,19 @@
115 rfc1738.$(OBJEXT) rfc2617.$(OBJEXT) safe_inet_addr.$(OBJEXT) \
116 $(am__objects_2) splay.$(OBJEXT) Stack.$(OBJEXT) \
117 stub_memaccount.$(OBJEXT) util.$(OBJEXT) uudecode.$(OBJEXT)
118 +am_libmiscutil_a_HOST_OBJECTS = Array.$(HOST_OBJEXT) \
119 + base64.$(HOST_OBJEXT) getfullhostname.$(HOST_OBJEXT) \
120 + hash.$(HOST_OBJEXT) heap.$(HOST_OBJEXT) \
121 + html_quote.$(HOST_OBJEXT) iso3307.$(HOST_OBJEXT) \
122 + $(am__host_objects_1) radix.$(HOST_OBJEXT) \
123 + rfc1035.$(HOST_OBJEXT) rfc1123.$(HOST_OBJEXT) \
124 + rfc1738.$(HOST_OBJEXT) rfc2617.$(HOST_OBJEXT) \
125 + safe_inet_addr.$(HOST_OBJEXT) $(am__host_objects_2) \
126 + splay.$(HOST_OBJEXT) Stack.$(HOST_OBJEXT) \
127 + stub_memaccount.$(HOST_OBJEXT) util.$(HOST_OBJEXT) \
128 + uudecode.$(HOST_OBJEXT)
129 libmiscutil_a_OBJECTS = $(am_libmiscutil_a_OBJECTS)
130 +libmiscutil_a_HOST_OBJECTS = $(am_libmiscutil_a_HOST_OBJECTS)
131 libntlmauth_a_AR = $(AR) cru
132 libntlmauth_a_DEPENDENCIES = @LIBOBJS@
133 am_libntlmauth_a_OBJECTS = ntlmauth.$(OBJEXT)
134 @@ -233,22 +277,42 @@
135 @AMDEP_TRUE@ $(DEPDIR)/splay.Po $(DEPDIR)/strerror.Po \
136 @AMDEP_TRUE@ $(DEPDIR)/stub_memaccount.Po $(DEPDIR)/tempnam.Po \
137 @AMDEP_TRUE@ $(DEPDIR)/util.Po $(DEPDIR)/uudecode.Po
138 +@AMDEP_TRUE@DEP_HOST_FILES = $(DEPDIR)/Array.Po.$(HOST_DEPEXT) $(DEPDIR)/GNUregex.Po.$(HOST_DEPEXT) \
139 +@AMDEP_TRUE@ $(DEPDIR)/Stack.Po.$(HOST_DEPEXT) $(DEPDIR)/base64.Po.$(HOST_DEPEXT) \
140 +@AMDEP_TRUE@ $(DEPDIR)/dlmalloc.Po.$(HOST_DEPEXT) $(DEPDIR)/drand48.Po.$(HOST_DEPEXT) \
141 +@AMDEP_TRUE@ $(DEPDIR)/getfullhostname.Po.$(HOST_DEPEXT) $(DEPDIR)/hash.Po.$(HOST_DEPEXT) \
142 +@AMDEP_TRUE@ $(DEPDIR)/heap.Po.$(HOST_DEPEXT) $(DEPDIR)/html_quote.Po.$(HOST_DEPEXT) \
143 +@AMDEP_TRUE@ $(DEPDIR)/inet_ntoa.Po.$(HOST_DEPEXT) $(DEPDIR)/initgroups.Po.$(HOST_DEPEXT) \
144 +@AMDEP_TRUE@ $(DEPDIR)/iso3307.Po.$(HOST_DEPEXT) $(DEPDIR)/md5.Po.$(HOST_DEPEXT) \
145 +@AMDEP_TRUE@ $(DEPDIR)/ntlmauth.Po.$(HOST_DEPEXT) $(DEPDIR)/radix.Po.$(HOST_DEPEXT) \
146 +@AMDEP_TRUE@ $(DEPDIR)/rfc1035.Po.$(HOST_DEPEXT) $(DEPDIR)/rfc1123.Po.$(HOST_DEPEXT) \
147 +@AMDEP_TRUE@ $(DEPDIR)/rfc1738.Po.$(HOST_DEPEXT) $(DEPDIR)/rfc2617.Po.$(HOST_DEPEXT) \
148 +@AMDEP_TRUE@ $(DEPDIR)/safe_inet_addr.Po.$(HOST_DEPEXT) $(DEPDIR)/snprintf.Po.$(HOST_DEPEXT) \
149 +@AMDEP_TRUE@ $(DEPDIR)/splay.Po.$(HOST_DEPEXT) $(DEPDIR)/strerror.Po.$(HOST_DEPEXT) \
150 +@AMDEP_TRUE@ $(DEPDIR)/stub_memaccount.Po.$(HOST_DEPEXT) $(DEPDIR)/tempnam.Po.$(HOST_DEPEXT) \
151 +@AMDEP_TRUE@ $(DEPDIR)/util.Po.$(HOST_DEPEXT) $(DEPDIR)/uudecode.Po.$(HOST_DEPEXT)
152 +
153 +
154 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
155 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
156 +HOST_COMPILE = $(HOST_CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
157 + $(AM_CFLAGS)
158 CCLD = $(CC)
159 +HOST_CCLD = ld
160 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
161 +HOST_LINK = $(HOST_CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
162 CFLAGS = @CFLAGS@
163 DIST_SOURCES = $(libdlmalloc_a_SOURCES) $(libmiscutil_a_SOURCES) \
164 $(EXTRA_libmiscutil_a_SOURCES) $(libntlmauth_a_SOURCES) \
165 - $(libregex_a_SOURCES)
166 + $(libregex_a_SOURCES) $(libmiscutil_a_HOST_SOURCES)
167 DIST_COMMON = Makefile.am Makefile.in drand48.c inet_ntoa.c \
168 initgroups.c strerror.c tempnam.c
169 -SOURCES = $(libdlmalloc_a_SOURCES) $(libmiscutil_a_SOURCES) $(EXTRA_libmiscutil_a_SOURCES) $(libntlmauth_a_SOURCES) $(libregex_a_SOURCES)
170 +SOURCES = $(libdlmalloc_a_SOURCES) $(libmiscutil_a_SOURCES) $(libmiscutil_a_HOST_SOURCES) $(EXTRA_libmiscutil_a_SOURCES) $(libntlmauth_a_SOURCES) $(libregex_a_SOURCES)
171
172 all: all-am
173
174 .SUFFIXES:
175 -.SUFFIXES: .c .o .obj
176 +.SUFFIXES: .c .o .obj .o.$(shell uname -m)
177 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
178 cd $(top_srcdir) && \
179 $(AUTOMAKE) --foreign lib/Makefile
180 @@ -265,10 +329,13 @@
181 -rm -f libdlmalloc.a
182 $(libdlmalloc_a_AR) libdlmalloc.a $(libdlmalloc_a_OBJECTS) $(libdlmalloc_a_LIBADD)
183 $(RANLIB) libdlmalloc.a
184 -libmiscutil.a: $(libmiscutil_a_OBJECTS) $(libmiscutil_a_DEPENDENCIES)
185 +libmiscutil.a: $(libmiscutil_a_OBJECTS) $(libmiscutil_a_HOST_OBJECTS) $(libmiscutil_a_DEPENDENCIES)
186 -rm -f libmiscutil.a
187 + -rm -f libmiscutil$(shell uname -m).a
188 $(libmiscutil_a_AR) libmiscutil.a $(libmiscutil_a_OBJECTS) $(libmiscutil_a_LIBADD)
189 + ar rcu libmiscutil$(shell uname -m).a $(libmiscutil_a_HOST_OBJECTS) $(libmiscutil_a_HOST_LIBADD)
190 $(RANLIB) libmiscutil.a
191 + ranlib libmiscutil$(shell uname -m).a
192 libntlmauth.a: $(libntlmauth_a_OBJECTS) $(libntlmauth_a_DEPENDENCIES)
193 -rm -f libntlmauth.a
194 $(libntlmauth_a_AR) libntlmauth.a $(libntlmauth_a_OBJECTS) $(libntlmauth_a_LIBADD)
195 @@ -313,6 +380,7 @@
196 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/util.Po@am__quote@
197 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/uudecode.Po@am__quote@
198
199 +
200 distclean-depend:
201 -rm -rf $(DEPDIR)
202
203 @@ -321,7 +389,8 @@
204 @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
205 @AMDEP_TRUE@ $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
206 $(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
207 -
208 +.c.o.$(shell uname -m):
209 + $(HOST_COMPILE) -o $(shell basename $< .c).o.$(shell uname -m) -c $<
210 .c.obj:
211 @AMDEP_TRUE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
212 @AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@
213 diff -urN squid-2.5.STABLE13/src/ctype.c squid-2.5.STABLE13.new/src/ctype.c
214 --- squid-2.5.STABLE13/src/ctype.c 1970-01-01 01:00:00.000000000 +0100
215 +++ squid-2.5.STABLE13.new/src/ctype.c 2006-04-15 10:29:39.000000000 +0200
216 @@ -0,0 +1,546 @@
217 +/*
218 + Static ctype data for IFC-7.1 / RedHat-9 workaround.
219 + This is taken from the GLIBC source code.
220 + Hack by Joe Krahn <krahn@niehs.nih.gov>
221 +
222 + To use, compile with gcc (ifc should work as well):
223 +
224 + gcc -c ctype.c
225 +
226 + Next, include the resulting ctype.o when creating executables.
227 + Do this automatically using a ~/.ifcrc file with a line like this:
228 +
229 + -Wl,/some/path/ctype.o
230 +
231 + That's all.
232 +
233 + My .ifcrc also turns off the typically excessive warnings:
234 + -cm -w90 -w95 -Wl,/home/krahn/Prog/ctype/ctype.o
235 +
236 + To IFC maintainters: it would be nice to flag on/off specific
237 + warning types, like -woff=22,33,44
238 +
239 +*/
240 +
241 +/*
242 + file: ctype.c
243 +
244 + Derived from C-ctype.c and ctype-info.c in the GLIBC 2.3 source.
245 +
246 + To compile: (either gcc or icc is OK)
247 + icc -c ctype.c
248 +
249 + To use, just add the object file ctype.o at link stage. Example:
250 + ifc -o hello hello.f ctype.o
251 +
252 +*/
253 +
254 +
255 +/* Copyright (C) 1995-1999, 2000, 2001, 2002 Free Software Foundation, Inc.
256 + This file is part of the GNU C Library.
257 + Contributed by Ulrich Drepper <drepper@cygnus.com>, 1995.
258 +
259 + The GNU C Library is free software; you can redistribute it and/or
260 + modify it under the terms of the GNU Lesser General Public
261 + License as published by the Free Software Foundation; either
262 + version 2.1 of the License, or (at your option) any later version.
263 +
264 + The GNU C Library is distributed in the hope that it will be useful,
265 + but WITHOUT ANY WARRANTY; without even the implied warranty of
266 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
267 + Lesser General Public License for more details.
268 +
269 + You should have received a copy of the GNU Lesser General Public
270 + License along with the GNU C Library; if not, write to the Free
271 + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
272 + 02111-1307 USA. */
273 +
274 +#include <stdint.h>
275 +
276 +/* This table's entries are taken from POSIX.2 Table 2-6
277 + ``LC_CTYPE Category Definition in the POSIX Locale''.
278 +
279 + The `_nl_C_LC_CTYPE_width' array is a GNU extension.
280 +
281 + In the `_nl_C_LC_CTYPE_class' array the value for EOF (== -1)
282 + is set to always return 0 and the conversion arrays return EOF. */
283 +
284 +const char _nl_C_LC_CTYPE_class[768] =
285 + /* 0x80 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
286 + /* 0x86 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
287 + /* 0x8c */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
288 + /* 0x92 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
289 + /* 0x98 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
290 + /* 0x9e */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
291 + /* 0xa4 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
292 + /* 0xaa */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
293 + /* 0xb0 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
294 + /* 0xb6 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
295 + /* 0xbc */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
296 + /* 0xc2 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
297 + /* 0xc8 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
298 + /* 0xce */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
299 + /* 0xd4 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
300 + /* 0xda */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
301 + /* 0xe0 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
302 + /* 0xe6 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
303 + /* 0xec */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
304 + /* 0xf2 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
305 + /* 0xf8 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
306 + /* 0xfe */ "\000\000" "\000\000" "\002\000" "\002\000" "\002\000" "\002\000"
307 + /* 0x04 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\003\040"
308 + /* 0x0a */ "\002\040" "\002\040" "\002\040" "\002\040" "\002\000" "\002\000"
309 + /* 0x10 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
310 + /* 0x16 */ "\002\000" "\002\000" "\002\000" "\002\000" "\002\000" "\002\000"
311 + /* 0x1c */ "\002\000" "\002\000" "\002\000" "\002\000" "\001\140" "\004\300"
312 + /* 0x22 */ "\004\300" "\004\300" "\004\300" "\004\300" "\004\300" "\004\300"
313 + /* 0x28 */ "\004\300" "\004\300" "\004\300" "\004\300" "\004\300" "\004\300"
314 + /* 0x2e */ "\004\300" "\004\300" "\010\330" "\010\330" "\010\330" "\010\330"
315 + /* 0x34 */ "\010\330" "\010\330" "\010\330" "\010\330" "\010\330" "\010\330"
316 + /* 0x3a */ "\004\300" "\004\300" "\004\300" "\004\300" "\004\300" "\004\300"
317 + /* 0x40 */ "\004\300" "\010\325" "\010\325" "\010\325" "\010\325" "\010\325"
318 + /* 0x46 */ "\010\325" "\010\305" "\010\305" "\010\305" "\010\305" "\010\305"
319 + /* 0x4c */ "\010\305" "\010\305" "\010\305" "\010\305" "\010\305" "\010\305"
320 + /* 0x52 */ "\010\305" "\010\305" "\010\305" "\010\305" "\010\305" "\010\305"
321 + /* 0x58 */ "\010\305" "\010\305" "\010\305" "\004\300" "\004\300" "\004\300"
322 + /* 0x5e */ "\004\300" "\004\300" "\004\300" "\010\326" "\010\326" "\010\326"
323 + /* 0x64 */ "\010\326" "\010\326" "\010\326" "\010\306" "\010\306" "\010\306"
324 + /* 0x6a */ "\010\306" "\010\306" "\010\306" "\010\306" "\010\306" "\010\306"
325 + /* 0x70 */ "\010\306" "\010\306" "\010\306" "\010\306" "\010\306" "\010\306"
326 + /* 0x76 */ "\010\306" "\010\306" "\010\306" "\010\306" "\010\306" "\004\300"
327 + /* 0x7c */ "\004\300" "\004\300" "\004\300" "\002\000" "\000\000" "\000\000"
328 + /* 0x82 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
329 + /* 0x88 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
330 + /* 0x8e */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
331 + /* 0x94 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
332 + /* 0x9a */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
333 + /* 0xa0 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
334 + /* 0xa6 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
335 + /* 0xac */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
336 + /* 0xb2 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
337 + /* 0xb8 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
338 + /* 0xbe */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
339 + /* 0xc4 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
340 + /* 0xca */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
341 + /* 0xd0 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
342 + /* 0xd6 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
343 + /* 0xdc */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
344 + /* 0xe2 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
345 + /* 0xe8 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
346 + /* 0xee */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
347 + /* 0xf4 */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
348 + /* 0xfa */ "\000\000" "\000\000" "\000\000" "\000\000" "\000\000" "\000\000"
349 +;
350 +const char _nl_C_LC_CTYPE_class32[1024] =
351 + /* 0x00 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
352 + /* 0x03 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
353 + /* 0x06 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
354 + /* 0x09 */ "\000\000\003\040" "\000\000\002\040" "\000\000\002\040"
355 + /* 0x0c */ "\000\000\002\040" "\000\000\002\040" "\000\000\002\000"
356 + /* 0x0f */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
357 + /* 0x12 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
358 + /* 0x15 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
359 + /* 0x18 */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
360 + /* 0x1b */ "\000\000\002\000" "\000\000\002\000" "\000\000\002\000"
361 + /* 0x1e */ "\000\000\002\000" "\000\000\002\000" "\000\000\001\140"
362 + /* 0x21 */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
363 + /* 0x24 */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
364 + /* 0x27 */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
365 + /* 0x2a */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
366 + /* 0x2d */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
367 + /* 0x30 */ "\000\000\010\330" "\000\000\010\330" "\000\000\010\330"
368 + /* 0x33 */ "\000\000\010\330" "\000\000\010\330" "\000\000\010\330"
369 + /* 0x36 */ "\000\000\010\330" "\000\000\010\330" "\000\000\010\330"
370 + /* 0x39 */ "\000\000\010\330" "\000\000\004\300" "\000\000\004\300"
371 + /* 0x3c */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
372 + /* 0x3f */ "\000\000\004\300" "\000\000\004\300" "\000\000\010\325"
373 + /* 0x42 */ "\000\000\010\325" "\000\000\010\325" "\000\000\010\325"
374 + /* 0x45 */ "\000\000\010\325" "\000\000\010\325" "\000\000\010\305"
375 + /* 0x48 */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
376 + /* 0x4b */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
377 + /* 0x4e */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
378 + /* 0x51 */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
379 + /* 0x54 */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
380 + /* 0x57 */ "\000\000\010\305" "\000\000\010\305" "\000\000\010\305"
381 + /* 0x5a */ "\000\000\010\305" "\000\000\004\300" "\000\000\004\300"
382 + /* 0x5d */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
383 + /* 0x60 */ "\000\000\004\300" "\000\000\010\326" "\000\000\010\326"
384 + /* 0x63 */ "\000\000\010\326" "\000\000\010\326" "\000\000\010\326"
385 + /* 0x66 */ "\000\000\010\326" "\000\000\010\306" "\000\000\010\306"
386 + /* 0x69 */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
387 + /* 0x6c */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
388 + /* 0x6f */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
389 + /* 0x72 */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
390 + /* 0x75 */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
391 + /* 0x78 */ "\000\000\010\306" "\000\000\010\306" "\000\000\010\306"
392 + /* 0x7b */ "\000\000\004\300" "\000\000\004\300" "\000\000\004\300"
393 + /* 0x7e */ "\000\000\004\300" "\000\000\002\000" "\000\000\000\000"
394 + /* 0x81 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
395 + /* 0x84 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
396 + /* 0x87 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
397 + /* 0x8a */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
398 + /* 0x8d */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
399 + /* 0x90 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
400 + /* 0x93 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
401 + /* 0x96 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
402 + /* 0x99 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
403 + /* 0x9c */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
404 + /* 0x9f */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
405 + /* 0xa2 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
406 + /* 0xa5 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
407 + /* 0xa8 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
408 + /* 0xab */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
409 + /* 0xae */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
410 + /* 0xb1 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
411 + /* 0xb4 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
412 + /* 0xb7 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
413 + /* 0xba */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
414 + /* 0xbd */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
415 + /* 0xc0 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
416 + /* 0xc3 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
417 + /* 0xc6 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
418 + /* 0xc9 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
419 + /* 0xcc */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
420 + /* 0xcf */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
421 + /* 0xd2 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
422 + /* 0xd5 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
423 + /* 0xd8 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
424 + /* 0xdb */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
425 + /* 0xde */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
426 + /* 0xe1 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
427 + /* 0xe4 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
428 + /* 0xe7 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
429 + /* 0xea */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
430 + /* 0xed */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
431 + /* 0xf0 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
432 + /* 0xf3 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
433 + /* 0xf6 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
434 + /* 0xf9 */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
435 + /* 0xfc */ "\000\000\000\000" "\000\000\000\000" "\000\000\000\000"
436 + /* 0xff */ "\000\000\000\000"
437 +;
438 +const uint32_t _nl_C_LC_CTYPE_toupper[384] =
439 +{
440 + /* 0x80 */ 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
441 + /* 0x88 */ 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
442 + /* 0x90 */ 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
443 + /* 0x98 */ 0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
444 + /* 0xa0 */ 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
445 + /* 0xa8 */ 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf,
446 + /* 0xb0 */ 0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7,
447 + /* 0xb8 */ 0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf,
448 + /* 0xc0 */ 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7,
449 + /* 0xc8 */ 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf,
450 + /* 0xd0 */ 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7,
451 + /* 0xd8 */ 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
452 + /* 0xe0 */ 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7,
453 + /* 0xe8 */ 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef,
454 + /* 0xf0 */ 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
455 + /* 0xf8 */ 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xffffffff,
456 + /* 0x00 */ 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
457 + /* 0x08 */ 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
458 + /* 0x10 */ 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
459 + /* 0x18 */ 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
460 + /* 0x20 */ 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27,
461 + /* 0x28 */ 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f,
462 + /* 0x30 */ 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
463 + /* 0x38 */ 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f,
464 + /* 0x40 */ 0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47,
465 + /* 0x48 */ 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f,
466 + /* 0x50 */ 0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57,
467 + /* 0x58 */ 0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f,
468 + /* 0x60 */ 0x60, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47,
469 + /* 0x68 */ 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f,
470 + /* 0x70 */ 0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57,
471 + /* 0x78 */ 0x58, 0x59, 0x5a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f,
472 + /* 0x80 */ 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
473 + /* 0x88 */ 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
474 + /* 0x90 */ 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
475 + /* 0x98 */ 0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
476 + /* 0xa0 */ 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
477 + /* 0xa8 */ 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf,
478 + /* 0xb0 */ 0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7,
479 + /* 0xb8 */ 0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf,
480 + /* 0xc0 */ 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7,
481 + /* 0xc8 */ 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf,
482 + /* 0xd0 */ 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7,
483 + /* 0xd8 */ 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
484 + /* 0xe0 */ 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7,
485 + /* 0xe8 */ 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef,
486 + /* 0xf0 */ 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
487 + /* 0xf8 */ 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff
488 +};
489 +const uint32_t _nl_C_LC_CTYPE_tolower[384] =
490 +{
491 + /* 0x80 */ 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
492 + /* 0x88 */ 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
493 + /* 0x90 */ 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
494 + /* 0x98 */ 0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
495 + /* 0xa0 */ 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
496 + /* 0xa8 */ 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf,
497 + /* 0xb0 */ 0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7,
498 + /* 0xb8 */ 0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf,
499 + /* 0xc0 */ 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7,
500 + /* 0xc8 */ 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf,
501 + /* 0xd0 */ 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7,
502 + /* 0xd8 */ 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
503 + /* 0xe0 */ 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7,
504 + /* 0xe8 */ 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef,
505 + /* 0xf0 */ 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
506 + /* 0xf8 */ 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xffffffff,
507 + /* 0x00 */ 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
508 + /* 0x08 */ 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
509 + /* 0x10 */ 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
510 + /* 0x18 */ 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f,
511 + /* 0x20 */ 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0x27,
512 + /* 0x28 */ 0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x2d, 0x2e, 0x2f,
513 + /* 0x30 */ 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
514 + /* 0x38 */ 0x38, 0x39, 0x3a, 0x3b, 0x3c, 0x3d, 0x3e, 0x3f,
515 + /* 0x40 */ 0x40, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67,
516 + /* 0x48 */ 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
517 + /* 0x50 */ 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77,
518 + /* 0x58 */ 0x78, 0x79, 0x7a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f,
519 + /* 0x60 */ 0x60, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67,
520 + /* 0x68 */ 0x68, 0x69, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f,
521 + /* 0x70 */ 0x70, 0x71, 0x72, 0x73, 0x74, 0x75, 0x76, 0x77,
522 + /* 0x78 */ 0x78, 0x79, 0x7a, 0x7b, 0x7c, 0x7d, 0x7e, 0x7f,
523 + /* 0x80 */ 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87,
524 + /* 0x88 */ 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f,
525 + /* 0x90 */ 0x90, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, 0x97,
526 + /* 0x98 */ 0x98, 0x99, 0x9a, 0x9b, 0x9c, 0x9d, 0x9e, 0x9f,
527 + /* 0xa0 */ 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7,
528 + /* 0xa8 */ 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf,
529 + /* 0xb0 */ 0xb0, 0xb1, 0xb2, 0xb3, 0xb4, 0xb5, 0xb6, 0xb7,
530 + /* 0xb8 */ 0xb8, 0xb9, 0xba, 0xbb, 0xbc, 0xbd, 0xbe, 0xbf,
531 + /* 0xc0 */ 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7,
532 + /* 0xc8 */ 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf,
533 + /* 0xd0 */ 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, 0xd7,
534 + /* 0xd8 */ 0xd8, 0xd9, 0xda, 0xdb, 0xdc, 0xdd, 0xde, 0xdf,
535 + /* 0xe0 */ 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7,
536 + /* 0xe8 */ 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef,
537 + /* 0xf0 */ 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7,
538 + /* 0xf8 */ 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff
539 +};
540 +
541 +#define STRUCT_CTYPE_CLASS(p, q) \
542 + struct \
543 + { \
544 + uint32_t isctype_data[8]; \
545 + uint32_t header[5]; \
546 + uint32_t level1[1]; \
547 + uint32_t level2[1 << q]; \
548 + uint32_t level3[1 << p]; \
549 + }
550 +
551 +const STRUCT_CTYPE_CLASS(1, 1) _nl_C_LC_CTYPE_class_upper =
552 +{
553 + { 0x00000000, 0x00000000, 0x07fffffe, 0x00000000,
554 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
555 + },
556 + { 7, 1, 6, 1, 1 },
557 + /* 1st-level table */
558 + { 6 * sizeof (uint32_t) },
559 + /* 2nd-level table */
560 + { 0, 8 * sizeof (uint32_t) },
561 + /* 3rd-level table */
562 + { 0x07fffffe, 0x00000000 }
563 +};
564 +const STRUCT_CTYPE_CLASS(1, 1) _nl_C_LC_CTYPE_class_lower =
565 +{
566 + { 0x00000000, 0x00000000, 0x00000000, 0x07fffffe,
567 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
568 + },
569 + { 7, 1, 6, 1, 1 },
570 + /* 1st-level table */
571 + { 6 * sizeof (uint32_t) },
572 + /* 2nd-level table */
573 + { 0, 8 * sizeof (uint32_t) },
574 + /* 3rd-level table */
575 + { 0x00000000, 0x07fffffe }
576 +};
577 +const STRUCT_CTYPE_CLASS(1, 1) _nl_C_LC_CTYPE_class_alpha =
578 +{
579 + { 0x00000000, 0x00000000, 0x07fffffe, 0x07fffffe,
580 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
581 + },
582 + { 7, 1, 6, 1, 1 },
583 + /* 1st-level table */
584 + { 6 * sizeof (uint32_t) },
585 + /* 2nd-level table */
586 + { 0, 8 * sizeof (uint32_t) },
587 + /* 3rd-level table */
588 + { 0x07fffffe, 0x07fffffe }
589 +};
590 +const STRUCT_CTYPE_CLASS(1, 0) _nl_C_LC_CTYPE_class_digit =
591 +{
592 + { 0x00000000, 0x03ff0000, 0x00000000, 0x00000000,
593 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
594 + },
595 + { 6, 1, 6, 0, 1 },
596 + /* 1st-level table */
597 + { 6 * sizeof (uint32_t) },
598 + /* 2nd-level table */
599 + { 7 * sizeof (uint32_t) },
600 + /* 3rd-level table */
601 + { 0x00000000, 0x03ff0000 }
602 +};
603 +const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_xdigit =
604 +{
605 + { 0x00000000, 0x03ff0000, 0x0000007e, 0x0000007e,
606 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
607 + },
608 + { 7, 1, 7, 0, 3 },
609 + /* 1st-level table */
610 + { 6 * sizeof (uint32_t) },
611 + /* 2nd-level table */
612 + { 7 * sizeof (uint32_t) },
613 + /* 3rd-level table */
614 + { 0x00000000, 0x03ff0000, 0x0000007e, 0x0000007e }
615 +};
616 +const STRUCT_CTYPE_CLASS(1, 0) _nl_C_LC_CTYPE_class_space =
617 +{
618 + { 0x00003e00, 0x00000001, 0x00000000, 0x00000000,
619 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
620 + },
621 + { 6, 1, 6, 0, 1 },
622 + /* 1st-level table */
623 + { 6 * sizeof (uint32_t) },
624 + /* 2nd-level table */
625 + { 7 * sizeof (uint32_t) },
626 + /* 3rd-level table */
627 + { 0x00003e00, 0x00000001 }
628 +};
629 +const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_print =
630 +{
631 + { 0x00000000, 0xffffffff, 0xffffffff, 0x7fffffff,
632 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
633 + },
634 + { 7, 1, 7, 0, 3 },
635 + /* 1st-level table */
636 + { 6 * sizeof (uint32_t) },
637 + /* 2nd-level table */
638 + { 7 * sizeof (uint32_t) },
639 + /* 3rd-level table */
640 + { 0x00000000, 0xffffffff, 0xffffffff, 0x7fffffff }
641 +};
642 +const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_graph =
643 +{
644 + { 0x00000000, 0xfffffffe, 0xffffffff, 0x7fffffff,
645 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
646 + },
647 + { 7, 1, 7, 0, 3 },
648 + /* 1st-level table */
649 + { 6 * sizeof (uint32_t) },
650 + /* 2nd-level table */
651 + { 7 * sizeof (uint32_t) },
652 + /* 3rd-level table */
653 + { 0x00000000, 0xfffffffe, 0xffffffff, 0x7fffffff }
654 +};
655 +const STRUCT_CTYPE_CLASS(1, 0) _nl_C_LC_CTYPE_class_blank =
656 +{
657 + { 0x00000200, 0x00000001, 0x00000000, 0x00000000,
658 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
659 + },
660 + { 6, 1, 6, 0, 1 },
661 + /* 1st-level table */
662 + { 6 * sizeof (uint32_t) },
663 + /* 2nd-level table */
664 + { 7 * sizeof (uint32_t) },
665 + /* 3rd-level table */
666 + { 0x00000200, 0x00000001 }
667 +};
668 +const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_cntrl =
669 +{
670 + { 0xffffffff, 0x00000000, 0x00000000, 0x80000000,
671 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
672 + },
673 + { 7, 1, 7, 0, 3 },
674 + /* 1st-level table */
675 + { 6 * sizeof (uint32_t) },
676 + /* 2nd-level table */
677 + { 7 * sizeof (uint32_t) },
678 + /* 3rd-level table */
679 + { 0xffffffff, 0x00000000, 0x00000000, 0x80000000 }
680 +};
681 +const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_punct =
682 +{
683 + { 0x00000000, 0xfc00fffe, 0xf8000001, 0x78000001,
684 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
685 + },
686 + { 7, 1, 7, 0, 3 },
687 + /* 1st-level table */
688 + { 6 * sizeof (uint32_t) },
689 + /* 2nd-level table */
690 + { 7 * sizeof (uint32_t) },
691 + /* 3rd-level table */
692 + { 0x00000000, 0xfc00fffe, 0xf8000001, 0x78000001 }
693 +};
694 +const STRUCT_CTYPE_CLASS(2, 0) _nl_C_LC_CTYPE_class_alnum =
695 +{
696 + { 0x00000000, 0x03ff0000, 0x07fffffe, 0x07fffffe,
697 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
698 + },
699 + { 7, 1, 7, 0, 3 },
700 + /* 1st-level table */
701 + { 6 * sizeof (uint32_t) },
702 + /* 2nd-level table */
703 + { 7 * sizeof (uint32_t) },
704 + /* 3rd-level table */
705 + { 0x00000000, 0x03ff0000, 0x07fffffe, 0x07fffffe }
706 +};
707 +
708 +const struct
709 +{
710 + uint32_t header[5];
711 + uint32_t level1[1];
712 + uint32_t level2[4];
713 + int32_t level3[32];
714 +}
715 +_nl_C_LC_CTYPE_map_toupper =
716 +{
717 + { 7, 1, 5, 3, 31 },
718 + /* 1st-level table */
719 + { 6 * sizeof (uint32_t) },
720 + /* 2nd-level table */
721 + { 0, 0, 0, 10 * sizeof (uint32_t) },
722 + /* 3rd-level table */
723 + {
724 + 0x00000000, 0xffffffe0, 0xffffffe0, 0xffffffe0,
725 + 0xffffffe0, 0xffffffe0, 0xffffffe0, 0xffffffe0,
726 + 0xffffffe0, 0xffffffe0, 0xffffffe0, 0xffffffe0,
727 + 0xffffffe0, 0xffffffe0, 0xffffffe0, 0xffffffe0,
728 + 0xffffffe0, 0xffffffe0, 0xffffffe0, 0xffffffe0,
729 + 0xffffffe0, 0xffffffe0, 0xffffffe0, 0xffffffe0,
730 + 0xffffffe0, 0xffffffe0, 0xffffffe0, 0x00000000,
731 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
732 + }
733 +},
734 +_nl_C_LC_CTYPE_map_tolower =
735 +{
736 + { 7, 1, 5, 3, 31 },
737 + /* 1st-level table */
738 + { 6 * sizeof (uint32_t) },
739 + /* 2nd-level table */
740 + { 0, 0, 10 * sizeof (uint32_t), 0 },
741 + /* 3rd-level table */
742 + {
743 + 0x00000000, 0x00000020, 0x00000020, 0x00000020,
744 + 0x00000020, 0x00000020, 0x00000020, 0x00000020,
745 + 0x00000020, 0x00000020, 0x00000020, 0x00000020,
746 + 0x00000020, 0x00000020, 0x00000020, 0x00000020,
747 + 0x00000020, 0x00000020, 0x00000020, 0x00000020,
748 + 0x00000020, 0x00000020, 0x00000020, 0x00000020,
749 + 0x00000020, 0x00000020, 0x00000020, 0x00000000,
750 + 0x00000000, 0x00000000, 0x00000000, 0x00000000
751 + }
752 +};
753 +
754 +#define b(t,x,o) (((const t *) _nl_C_LC_CTYPE_##x) + o)
755 +
756 +const uint16_t *__ctype_b = b (uint16_t, class, 128);
757 +const uint32_t *__ctype32_b = b (uint32_t, class32, 0);
758 +const int32_t *__ctype_tolower = b (int32_t, tolower, 128);
759 +const int32_t *__ctype_toupper = b (int32_t, toupper, 128);
760 +const uint32_t *__ctype32_tolower = b (uint32_t, tolower, 128);
761 +const uint32_t *__ctype32_toupper = b (uint32_t, toupper, 128);
762 +
763 diff -urN squid-2.5.STABLE13/src/Makefile.in squid-2.5.STABLE13.new/src/Makefile.in
764 --- squid-2.5.STABLE13/src/Makefile.in 2005-09-28 22:57:21.000000000 +0200
765 +++ squid-2.5.STABLE13.new/src/Makefile.in 2006-04-15 10:29:39.000000000 +0200
766 @@ -1141,6 +1143,9 @@
767 $(SHELL) -c "test -f squid.conf.default || ./cf_gen cf.data"
768
769 cf_parser.h: cf.data cf_gen$(EXEEXT)
770 + rm -f cf_gen
771 + gcc -c ctype.c
772 + gcc -o cf_gen cf_gen.c -I./ -I../ -I../include/ -L../lib -lmiscutil$(shell uname -m) -lm -lnsl -Wl,ctype.o
773 ./cf_gen cf.data
774
775 cf_gen_defines.h: $(srcdir)/cf_gen_defines $(srcdir)/cf.data.pre