mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-14 14:01:48 +03:00
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.
35 lines
557 B
Plaintext
35 lines
557 B
Plaintext
Description:
|
|
grantpt() function: Acquire ownership of the slave side of a pseudo-terminal.
|
|
|
|
Files:
|
|
lib/grantpt.c
|
|
lib/pty-private.h
|
|
m4/grantpt.m4
|
|
|
|
Depends-on:
|
|
stdlib
|
|
extensions
|
|
builtin-expect [test $HAVE_GRANTPT = 0]
|
|
pt_chown [test $HAVE_GRANTPT = 0]
|
|
waitpid [test $HAVE_GRANTPT = 0]
|
|
configmake [test $HAVE_GRANTPT = 0]
|
|
|
|
configure.ac:
|
|
gl_FUNC_GRANTPT
|
|
if test $HAVE_GRANTPT = 0; then
|
|
AC_LIBOBJ([grantpt])
|
|
gl_PREREQ_GRANTPT
|
|
fi
|
|
gl_STDLIB_MODULE_INDICATOR([grantpt])
|
|
|
|
Makefile.am:
|
|
|
|
Include:
|
|
<stdlib.h>
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|