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