• Paul Eggert's avatar
    builtin-expect: new module · 005973d6
    Paul Eggert authored
    Fix fnmatch to use it.
    Problem reported for z/OS by Daniel Richard G.
    * lib/fnmatch.c (__builtin_expect):
    * lib/glob.c (__builtin_expect):
    * lib/grantpt.c (__builtin_expect) [!_LIBC]:
    * lib/memmem.c (__builtin_expect) [!_LIBC]:
    * lib/scandir.c (__builtin_expect):
    * lib/strstr.c (__builtin_expect) [!_LIBC]:
    Remove macro; config.h now does this.
    * lib/gl_anytreehash_list1.h (add_to_bucket):
    * lib/regex_internal.h (BE):
    Assume __builtin_expect.
    * m4/builtin-expect.m4, modules/builtin-expect: New files.
    * modules/avltreehash-list, modules/fnmatch, modules/glob:
    * modules/grantpt, modules/memmem-simple, modules/rbtreehash-list:
    * modules/scandir, modules/strstr-simple:
    Depend on builtin-expect.
To find the state of this project's repository at the time of any of these versions, check out the tags.
ChangeLog 3.93 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.