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