Remove dependency of xalloc.h on SIZE_MAX and PTRDIFF_MAX.
[gnulib.git] / ChangeLog
1 2003-11-12  Paul Eggert  <eggert@twinsun.com>
2
3         * modules/xalloc (Files): Undo latest change, since xalloc.h
4         no longer needs SIZE_MAX or PTRDIFF_MAX.
5
6 2003-11-11  Bruno Haible  <bruno@clisp.org>
7
8         * modules/xsize (Files): Add m4/size_max.m4.
9         * modules/xalloc (Files): Add m4/size_max.m4, m4/ptrdiff_max.m4.
10
11 2003-11-04  Bruno Haible  <bruno@clisp.org>
12
13         * modules/xsize: New file.
14         * modules/linebreak: Depend on xsize.
15         * MODULES.html.sh (func_all_modules): Add xsize.
16
17 2003-11-04  Jim Meyering  <jim@meyering.net>
18
19         * modules/sysexits: Use the `$(VAR)' notation for AC_SUBST'd
20         variable names, rather than @VAR@.
21         * modules/poll: Likewise.
22
23 2003-11-03  Jim Meyering  <jim@meyering.net>
24
25         * modules/userspec (lib_SOURCES): Add userspec.h.
26         (Include): Add "userspec.h".
27         Improve description.
28
29 2003-10-29  Paul Eggert  <eggert@twinsun.com>
30
31         * modules/group-member: Depend on stdbool.
32
33 2003-10-20  Bruno Haible  <bruno@clisp.org>
34
35         * modules/wait-process: New file.
36         * MODULES.html.sh (func_all_modules): Add wait-process.
37
38 2003-10-16  Paul Eggert  <eggert@twinsun.com>
39
40         * README: Mention that gnulib assumes that (foo *) NULL + 0 == NULL.
41
42 2003-10-14  Bruno Haible  <bruno@clisp.org>
43
44         * modules/fatal-signal: Add m4/sig_atomic_t.m4 to file list.
45
46 2003-10-12  Paul Eggert  <eggert@twinsun.com>
47
48         * modules/xalloc: Do not depend on 'exit'.  Depend on 'stdbool'.
49         Change maintainer from Bruno Haible to 'all'.
50
51 2003-10-10  Simon Josefsson  <jas@extundo.com>
52
53         * modules/argp (Depends-on): Add restrict and strcase.
54
55 2003-10-08  Paul Eggert  <eggert@twinsun.com>
56
57         * modules/getpass: Depend on stdbool.
58
59 2003-10-06  Bruno Haible  <bruno@clisp.org>
60
61         * modules/version-etc-2: Remove file.
62         * MODULES.html.sh (func_all_modules): Remove version-etc-2.
63
64 2003-10-06  Bruno Haible  <bruno@clisp.org>
65
66         * modules/fatal-signal: New file.
67         * MODULES.html.sh (func_all_modules): Add fatal-signal.
68
69 2003-10-05  Paul Eggert  <eggert@twinsun.com>
70
71         * README: Rework advice for preventing empty .o files.
72         Don't recommend ELIDE constructs.  Recommend <stddef.h>,
73         not <sys/types.h>.
74
75 2003-10-02  Bruno Haible  <bruno@clisp.org>
76
77         * modules/lchown (Include): Add lchown.h.
78         * modules/time_r (Include): Use "..." syntax.
79         * modules/xgetdomainname (Include): Add xgetdomainname.h.
80
81 2003-10-01  Simon Josefsson  <jas@extundo.com>
82
83         * MODULES.html.sh (func_all_modules): Move gethostname from section
84         'based on' to section 'lacking' POSIX:2001.
85
86 2003-09-27  Oskar Liljeblad  <oskar@osk.mine.nu>
87
88         Trivial fixes to Makefile.am parts of module listings.
89         * modules/strstr: Append strstr.h to lib_SOURCES.
90         * modules/strcase: Likewise, for strcase.h.
91
92 2003-09-27  Paul Eggert  <eggert@twinsun.com>
93
94         * modules/free: New file.
95
96 2003-09-25  Bruno Haible  <bruno@clisp.org>
97
98         * modules/version-etc-2: New file, from modules/version-etc with
99         modifications.
100         * MODULES.html.sh (func_all_modules): Add version-etc-2.
101
102 2003-09-25  Simon Josefsson  <jas@extundo.com>
103             Bruno Haible  <bruno@clisp.org>
104
105         * modules/getdomainname: New file.
106         * modules/xgetdomainname: New file.
107         * MODULES.html.sh (func_all_modules): Add getdomainname, xgetdomainname.
108
109 2003-09-24  Paul Eggert  <eggert@twinsun.com>
110
111         * README: Document assumptions that 'int' is at least 32 bits
112         wide, that integer arithmetic is 2's complement without overflow,
113         that there are no holes in integer values, that adding sizes of
114         two nonoverlapping objects can't overflow, and that all-bits-zero
115         yields scalar zero.  Fix spelling and capitalization typos.
116
117 2003-09-24  Simon Josefsson  <jas@extundo.com>
118
119         * modules/xgethostname: Add xgethostname.h.
120
121 2003-09-17  Paul Eggert  <eggert@twinsun.com>
122
123         * gnulib-tool: Use "test -h", not "test -L", for portability
124         to Solaris 8 /bin/sh.  (This bug is fixed in Solaris 9.)
125         (tags_regexp): Remove, since \| doesn't conform to POSIX.
126         (sed_extract_prog): Issue s commands one-by-one, rather than
127         using \| in one s command.
128
129 2003-09-16  Bruno Haible  <bruno@clisp.org>
130
131         * gnulib-tool (func_create_testdir): Warn about duplicated
132         dependencies.
133
134 2003-09-15  Paul Eggert  <eggert@twinsun.com>
135
136         * modules/argmatch, modules/fatal, modules/obstack,
137         modules/xalloc, modules/xgethostname: Sort dependencies by
138         importance, not alphabetically.
139
140 2003-09-14  Bruno Haible  <bruno@clisp.org>
141
142         * modules/fwriteerror: New file.
143         * MODULES.html.sh (func_all_modules): Add fwriteerror.
144
145 2003-09-12  Paul Eggert  <eggert@twinsun.com>
146
147         * modules/argmatch, modules/exitfail, modules/fatal, modules/obstack,
148         modules/xgethostname, modules/xalloc: Depend on exit.
149
150 2003-09-09  Paul Eggert  <eggert@twinsun.com>
151
152         * README: New section: portability guidelines.
153
154 2003-09-07  Paul Eggert  <eggert@twinsun.com>
155
156         * modules/time_r: Depend on 'restrict'.  Fix from Simon Josefsson in
157         <http://mail.gnu.org/archive/html/bug-gnulib/2003-09/msg00028.html>.
158
159 2003-09-06  Paul Eggert  <eggert@twinsun.com>
160
161         * MODULES.html.sh (func_all_modules): Add time_r.
162         * modules/time_r: New file.
163         * modules/mktime, modules/strftime, modules/timegm: Depend on time_r.
164         * modules/timegm: Depend on mktime.  Change maintainer to "all, glibc".
165
166 2003-08-31  Simon Josefsson  <jas@extundo.com>
167
168         * modules/timegm: New file.
169         * MODULES.html.sh (func_all_modules): Add timegm.
170
171 2003-08-22  Simon Josefsson  <jas@extundo.com>
172
173         * modules/strndup (Makefile.am): Add strndup.h to lib_SOURCES.
174
175 2003-08-20  Bruno Haible  <bruno@clisp.org>
176
177         * modules/progname: New file.
178         * MODULES.html.sh (func_all_modules): Add progname.
179
180 2003-08-18  Paul Eggert  <eggert@twinsun.com>
181
182         * modules/stdbool: Add BUILT_SOURCES.  Prefer $@ to target name
183         in makefile rules.
184
185 2003-08-17  Simon Josefsson  <jas@extundo.com>
186
187         * modules/argp: Fix autoconf macro name. Add more dependencies.
188
189 2003-08-17  Simon Josefsson  <jas@extundo.com>
190
191         * modules/xstrndup: New file.
192         * MODULES.html.sh (func_all_modules): Add xstrndup.
193
194 2003-08-17  Bruno Haible  <bruno@clisp.org>
195
196         * modules/strndup (Files, Include): Add lib/strndup.h.
197
198 2003-08-17  Bruno Haible  <bruno@clisp.org>
199
200         * gnulib-tool (func_create_testdir): Handle gl_USE_SYSTEM_EXTENSIONS
201         like AC_GNU_SOURCE.
202         * modules/extensions (configure.ac): Comment out the invocation of
203         gl_USE_SYSTEM_EXTENSIONS.
204
205 2003-08-17  Bruno Haible  <bruno@clisp.org>
206
207         * modules/euidaccess (Files): Add lib/euidaccess.h.
208
209 2003-08-16  Paul Eggert  <eggert@twinsun.com>
210
211         Document merge from coreutils.
212         * modules/alloca: Append $(ALLOCA_H) to BUILT_SOURCES.
213         * modules/fnmatch: Append $(FNMATCH_H) to BUILT_SOURCES.
214         * modules/utime: Add m4/utimes-null.m4.
215
216 2003-08-15  Paul Eggert  <eggert@twinsun.com>
217
218         Document merge from coreutils.
219         * modules/userspec: Depend on posixver.
220         * modules/strftime: Depend on tzset.
221
222 2003-08-14  Jim Meyering  <jim@meyering.net>
223
224         Merges from coreutils.
225         * modules/fnmatch: Use the `$(FNMATCH_H)' notation for AC_REPLACED
226         variable names, rather than @FNMATCH_H@.
227         * modules/alloca: Likewise for $(ALLOCA_H).
228
229         * modules/fnmatch (fnmatch.h): Use `$@' in the commands, in place of
230         the three copies of the literal target, `fnmatch.h'.
231         * modules/alloca (alloca.h): Likewise.
232
233 2003-08-14  Paul Eggert  <eggert@twinsun.com>
234
235         * modules/tzset: New file.
236
237 2003-08-12  Paul Eggert  <eggert@twinsun.com>
238
239         Merge from coreutils.
240         * modules/euidaccess: Add lib_SOURCES, include for new
241         file euidaccess.h
242
243 2003-08-11  Paul Eggert  <eggert@twinsun.com>
244
245         * modules/gnu-source, m4/gnu-source.m4:
246         Remove; we're assuming Autoconf 2.54 or later now.
247         Suggested by Bruno Haible.
248         * MODULES.html.sh (func_all_modules): Remove gnu-source.
249
250 2003-08-08  Paul Eggert  <eggert@twinsun.com>
251
252         * MODULES.html.sh (func_all_modules): Add extensions, gnu-source.
253         * modules/extensions, modules/gnu-source: New files.
254         * modules/timespec, modules/unlocked-io: Depend on extensions.
255
256 2003-08-07 Paul Eggert  <eggert@twinsun.com>
257
258         * modules/restrict: New file.
259         * MODULES.html.sh (func_all_modules): Add restrict.
260         * modules/regex: Depend on restrict.
261
262 2003-08-07  Bruno Haible  <bruno@clisp.org>
263
264         * modules/getndelim2 (Makefile.am): Add the files to EXTRA_DIST, not
265         lib_SOURCES, because getndelim2.m4 now uses AC_LIBOBJ(getndelim2).
266
267 2003-08-05  Paul Eggert  <eggert@twinsun.com>
268
269         * MODULES.html.sh (func_all_modules): Remove bumpalloc.
270         * modules/bumpalloc: Remove.
271
272 2003-07-31  Bruno Haible  <bruno@clisp.org>
273
274         * modules/getpass-gnu: New file.
275         * MODULES.html.sh (func_all_modules): Add getpass-gnu.
276
277 2003-07-22  Paul Eggert  <eggert@twinsun.com>
278
279         * modules/xalloc (Depends-on): Add exitfail.
280         * modules/xmemcoll: Likewise.
281
282 2003-07-20  Jim Meyering  <jim@meyering.net>
283
284         * modules/closeout (Depends-on): Add exitfail.
285         Suggestion from Bruno Haible.
286
287 2003-07-18  Bruno Haible  <bruno@clisp.org>
288
289         * modules/getndelim2: New file.
290         * modules/getline: Share files with module getndelim2.
291         * modules/getnline: Depend on getndelim2 instead of sharing files with
292         it. Add getnline.c to lib_SOURCES.
293         * MODULES.html.sh (func_all_modules): Add getndelim2.
294
295 2003-07-17  Bruno Haible  <bruno@clisp.org>
296
297         * modules/getnline: New file.
298         * modules/getline: Add lib/getndelim2.c to source file list.
299         * MODULES.html.sh (func_all_modules): Add getnline.
300
301 2003-07-17  Bruno Haible  <bruno@clisp.org>
302
303         * configure.in: Remove file.
304         * Makefile.in: Remove file.
305
306 2003-07-17  Bruno Haible  <bruno@clisp.org>
307
308         * MODULES.html.sh: Put the </BODY> right before </HTML>.
309
310 2003-07-16  Jim Meyering  <jim@meyering.net>
311
312         * modules/save-cwd: Depend on xgetcwd.  From Derek Price.
313
314 2003-07-15  Jim Meyering  <jim@meyering.net>
315
316         * modules/save-cwd: Don't depend on error.  From Derek Price.
317
318 2003-07-14  Simon Josefsson  <jas@extundo.com>
319
320         * modules/mempcpy: New file.
321         * MODULES.html.sh (func_all_modules): Add mempcpy.
322
323 2003-07-14  Paul Eggert  <eggert@twinsun.com>
324
325         * modules/getdate, modules/posixtm: Depend on mktime.
326
327 2003-07-10  Simon Josefsson  <jas@extundo.com>
328
329         * modules/strchrnul (Makefile.am): Add strchrnul.h.
330
331 2003-06-26  Bruno Haible  <bruno@clisp.org>
332
333         * modules/human: Depend on module stdbool.
334
335 2003-06-25  Bruno Haible  <bruno@clisp.org>
336
337         * modules/readlink: New file.
338         * modules/xreadlink: Depend on it.
339         * MODULES.html.sh (func_all_modules): Add readlink.
340
341 2003-06-22  Bruno Haible  <bruno@clisp.org>
342
343         * modules/safe-read: Add m4/ssize_t.m4.
344         * modules/xreadlink: Add m4/ssize_t.m4.
345
346 2003-06-11  Simon Josefsson  <jas@extundo.com>
347
348         * modules/sysexits: New file.
349         * MODULES.html.sh (func_all_modules): Add sysexits.
350
351 2003-06-10  Bruno Haible  <bruno@clisp.org>
352
353         * MODULES.html.sh (func_all_modules): Add strchrnul and argp.
354
355 2003-06-10  Simon Josefsson  <jas@extundo.com>
356
357         * modules/strchrnul: New file.
358
359 2003-06-10  Simon Josefsson  <jas@extundo.com>
360
361         * modules/argp: New file.
362
363 2003-06-07  Bruno Haible  <bruno@clisp.org>
364
365         * modules/poll (Makefile.am): Use explicit creation rule for poll.h, to
366         avoid AC_CONFIG_LINKS.
367         * modules/fnmatch (Makefile.am): Use explicit creation rule for
368         fnmatch.h, to avoid AC_CONFIG_LINKS.
369         * modules/alloca (Makefile.am): Make creation of alloca.h Ctrl-C safe.
370
371 2003-06-07  Jim Meyering  <jim@meyering.net>
372
373         * modules/strtod: Use $(...) notation, not @...@ for
374         AC_REPLACE'd variables.
375         * modules/localcharset: Likewise.
376
377 2003-06-06  Jim Meyering  <jim@meyering.net>
378             Bruno Haible  <bruno@clisp.org>
379
380         * modules/stdbool: Reflect renaming: stdbool.h.in -> stdbool_.h.
381         Adjust Makefile.am snippet not to redirect directly to target.
382         Use $(STDBOOL_H) notation, not @STDBOOL_H@ for AC_REPLACE'd variables.
383
384 2003-05-30  Bruno Haible  <bruno@clisp.org>
385
386         * modules/gettext: Add files m4/nls.m4 and m4/po.m4.
387         * config/config.rpath: Upgrade to gettext-0.12.1.
388
389 2003-05-22    <karl@gnu.org>
390
391         * gnulib-tool (func_usage): =LIBRARY not =libRARY in help msg.
392
393 2003-05-09  Bruno Haible  <bruno@clisp.org>
394
395         * modules/error: Add m4/strerror_r.m4 to file list.
396
397 2003-04-10  Bruno Haible  <bruno@clisp.org>
398
399         * modules/findprog: New file.
400         * MODULES.html.sh (func_all_modules): Add it.
401
402 2003-04-04  Bruno Haible  <bruno@clisp.org>
403
404         * modules/linebreak: New file.
405         * MODULES.html.sh (func_all_modules): Add it.
406
407 2003-04-03  Bruno Haible  <bruno@clisp.org>
408
409         * modules/utf8-ucs4: New file.
410         * modules/utf16-ucs4: New file.
411         * modules/ucs4-utf8: New file.
412         * modules/ucs4-utf16: New file.
413         * MODULES.html.sh (func_all_modules): Add them.
414
415 2003-04-02  Bruno Haible  <bruno@clisp.org>
416
417         * modules/binary-io: New file.
418         * MODULES.html.sh (func_all_modules): Add it.
419
420 2003-04-01  Bruno Haible  <bruno@clisp.org>
421
422         * modules/pathname: New file.
423         * MODULES.html.sh (func_all_modules): Add it.
424
425 2003-03-28  Bruno Haible  <bruno@clisp.org>
426
427         * modules/copy-file: New file.
428         * MODULES.html.sh (func_all_modules): Add it.
429
430 2003-02-20  Bruno Haible  <bruno@clisp.org>
431
432         * MODULES.html.sh (func_all_modules): Add poll.
433
434 2003-02-19  Paolo Bonzino  <bonzini@gnu.org>
435
436         * modules/poll: New file.
437
438 2003-02-18  Bruno Haible  <bruno@clisp.org>
439
440         * MODULES.html.sh (func_all_modules): Add mathl.
441
442 2003-02-18  Paolo Bonzino  <bonzini@gnu.org>
443
444         * modules/mathl: New file.
445
446 2003-02-17  Bruno Haible  <bruno@clisp.org>
447
448         * modules/mkdtemp: New module.
449         * MODULES.html.sh (func_all_modules): Add it.
450
451 2003-01-30  Bruno Haible  <bruno@clisp.org>
452
453         * modules/vasnprintf, modules/vasprintf: New modules.
454         * MODULES.html.sh (func_all_modules): Add them.
455
456 2003-01-29  Bruno Haible  <bruno@clisp.org>
457
458         * modules/stpncpy: New module.
459         * MODULES.html.sh (func_all_modules): Add it.
460
461 2003-01-28  Bruno Haible  <bruno@clisp.org>
462
463         * modules/c-ctype: New module.
464         * MODULES.html.sh (func_all_modules): Add it.
465
466 2003-01-27  Bruno Haible  <bruno@clisp.org>
467
468         * modules/xsetenv: New module.
469         * MODULES.html.sh (func_all_modules): Add it.
470
471 2003-01-23  Bruno Haible  <bruno@clisp.org>
472
473         * modules/minmax: New module.
474         * MODULES.html.sh (func_all_modules): Add it.
475
476 2003-01-22  Bruno Haible  <bruno@clisp.org>
477
478         * modules/exit: New module.
479         * MODULES.html.sh (func_all_modules): Add it.
480
481 2003-01-19  Bruno Haible  <bruno@clisp.org>
482
483         * gnulib-tool: Recognize option --extract-maintainer.
484         (func_get_maintainer): New function.
485         * modules/*: Add Maintainer entry.
486
487 2003-01-16  Bruno Haible  <bruno@clisp.org>
488
489         * MODULES.html.sh: Add a table of contents. Add the module name as
490         leftmost column. Add hyperlinks.
491
492 2003-01-11  Bruno Haible  <bruno@clisp.org>
493
494         * modules/stpcpy: Distribute lib/stpcpy.h.
495         * modules/setenv: Depend on alloca. Distribute lib/setenv.h.
496
497 2003-01-11  Bruno Haible  <bruno@clisp.org>
498
499         * gnulib-tool (func_create_testdir): Store config/* files in the main
500         directory.
501         * config.rpath: Move to ...
502         * config/config.rpath: ... here.
503         * modules/gettext: Contains config/config.rpath, not config.rpath.
504         * modules/iconv: Likewise.
505
506 2003-01-11  Bruno Haible  <bruno@clisp.org>
507
508         * modules/*: Add a description.
509         * modules/strpbrk: Fix Makefile.am snippet.
510         * modules/strtoimax: Fix dependencies.
511         * modules/strtoumax: Likewise.
512
513 2003-01-11  Bruno Haible  <bruno@clisp.org>
514
515         * gnulib-tool (func_create_testdir): Substitute lib_OBJECTS.
516         * modules/alloca (Makefile.am): All object files depend on alloca.h.
517         * modules/stdbool (Makefile.am): All object files depend on stdbool.h.
518
519 2003-01-12  Paul Eggert  <eggert@twinsun.com>
520
521         Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
522         to avoid collisions with libcurses and libreadline.
523         * getstr: Remove.
524         * MODULES.html.sh: Remove getstr.
525         * modules/getline: Depend on unlocked-io, not getstr.
526
527 2003-01-10  Bruno Haible  <bruno@clisp.org>
528
529         * modules/alloca: Change Makefile.am requirements. Simplify Include
530         requirements. Add lib/alloca_.h to file list.
531
532 2003-01-09  Bruno Haible  <bruno@clisp.org>
533
534         * modules/stdbool: Change configure.ac, Makefile.am requirements.
535         Simplify Include requirements. Add lib/stdbool.h.in to file list.
536
537 2003-01-09  Bruno Haible  <bruno@clisp.org>
538
539         * gnulib-tool (func_all_modules): Ignore files ending in ~.
540         * MODULES.html.sh: Likewise.
541
542 2003-01-09    <karl@gnu.org>
543
544         * MODULES.html.sh: include `dirname $0` in PATH, to find
545         gnulib-tool.
546
547 2003-01-08  Bruno Haible  <bruno@clisp.org>
548
549         * modules/full-read: Depend on full-write.
550
551 2003-01-07  Bruno Haible  <bruno@clisp.org>
552
553         * MODULES.html.sh: Add copyright notice.
554         (missed_files): Omit CVS directory entries.
555         (func_module): Make it work with sed-3.02.
556         * MODULES.txt: Remove file.
557
558 2003-01-01    <karl@gnu.org>
559
560         * gnulib-tool (func_verify_module): report module name $module in
561         error message, not $1.
562         * gnulib-tool (create-testdir): don't complain if destdir couldn't
563         be created, only if it doesn't exist.
564         * gnulib-tool (last_checkin_date): don't expand the $Date here.
565
566 2002-12-24  Bruno Haible  <bruno@clisp.org>
567
568         * MODULES.txt: Update according to m4/ changes.
569
570         Module gettext.
571         * config.rpath: New file, from gettext-0.11.5.
572
573         * modules/*: New module descriptions.
574         * gnulib-tool: New file.
575         * MODULES.html.sh: New file.
576
577 2002-11-01  Bruno Haible  <bruno@clisp.org>
578
579         * configure.in: Add AC_CONFIG_AUX_DIR call.
580         (AC_OUTPUT): Add m4/Makefile, lib/Makefile. Remove doc/Makefile,
581         test/Makefile.
582         * Makefile.in (subdirs): Add m4, lib. Remove doc, test.
583
584 2002-08-23  Stefan Monnier  <monnier@cs.yale.edu>
585
586         * regex.c (PATFETCH): Remove the translating fetch.
587         (PATFETCH_RAW): Rename to PATFETCH.
588         (set_image_of_range): New fun.
589         (SET_RANGE_TABLE_WORK_AREA): Use it.
590         (regex_compile): Don't translate the pattern chars so eagerly.
591         Only do it when inserting an `exactn' bytecode or when handling
592         a char-range.
593         (mutually_exclusive_p): Avoid empty statement.
594
595 2001-10-22  Jeff Bailey  <jbailey@outpost.dnsalias.org>
596
597         * README: New file
598         * doc/*: Add COPYING, COPYING.LIB, COPYING.DOC, fdl.texi
599         (per RMS's instructions, this is now the canonical source)
600         * lgpl/, gpl/: New directories.
601
602 2001-01-24  Stefan Monnier  <monnier@cs.yale.edu>
603
604         * regex.c (mutually_exclusive_p): Don't blindly handle `charset_not'
605         as if it was a `charset'.
606
607 2000-10-30  Stefan Monnier  <monnier@cs.yale.edu>
608
609         * regex.c (re_iswctype, re_wctype_to_bit): Fix braino.
610         (regex_compile): Catch bogus \(\1\).
611
612 2000-10-27  Stefan Monnier  <monnier@cs.yale.edu>
613
614         * regex.c (POP_FAILURE_REG_OR_COUNT, re_match_2_internal)
615         (re_match_2_internal, re_match_2_internal, re_match_2_internal):
616         Giving in to popular pressure to shut up the compiler with casts.
617
618 2000-10-25  Stefan Monnier  <monnier@cs.yale.edu>
619
620         * regex.c: More `unsigned char' -> `re_char' changes.
621         Also change several `int' into `re_wchar_t'.
622         (PATTERN_STACK_EMPTY, PUSH_PATTERN_OP, POP_PATTERN_OP): Remove.
623         (PUSH_FAILURE_POINTER): Don't cast any more.
624         (POP_FAILURE_REG_OR_COUNT): Remove the cast that strips `const'.
625         We want GCC to complain, since this piece of code makes
626         re_match non-reentrant, which *should* be fixed.
627         (GET_BUFFER_SPACE): Use size_t rather than unsigned long.
628         (EXTEND_BUFFER): Use RETALLOC.
629         (SET_LIST_BIT): Don't cast.
630         (re_wchar_t): New type.
631         (re_iswctype, re_wctype_to_bit): Make it crystal clear to GCC
632         that those two functions will always properly return.
633         (IMMEDIATE_QUIT_CHECK): Cast to void.
634         (analyse_first): Use recursion rather than an explicit stack.
635         (re_compile_fastmap): Can't fail anymore.
636         (re_search_2): Don't check re_compile_fastmap for failure.
637         (PUSH_NUMBER): Renamed from PUSH_FAILURE_COUNT.
638         Now also sets the new value (passed in a new argument).
639         (re_match_2_internal): Use it.
640         Also, use a new var `reg' of type size_t when looping through regs
641         rather than reuse the inappropriate `mcnt'.
642
643 2000-10-24  Andrew Innes  <andrewi@gnu.org>
644
645         * regex.c (IMMEDIATE_QUIT_CHECK): New macro, which does QUIT on
646         NT-Emacs only.
647         (re_match_2_internal): Use IMMEDIATE_QUIT_CHECK instead of QUIT,
648         so that re_search functions only quit when callers expect them to.
649
650 2000-10-24  Kenichi Handa  <handa@etl.go.jp>
651
652         * regex.c (regex_compile): Change the way of handling a range from
653         a char less than 256 to a char not less than 256.
654
655 2000-10-15  Stefan Monnier  <monnier@cs.yale.edu>
656
657         * regex.c (WIDE_CHAR_SUPPORT): Define if _LIBC as well.