From 3ca622e4d6054c0b99b2df36580462663edc8d12 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Tue, 12 Sep 2017 18:52:05 -0300 Subject: posix: Fix compat glob code on s390 and alpha This patch fixes the compat glob implementation consolidation from commit 116f1c64d with the following changes: - Add a compat implementation on s390 to avoid the architecture to build the symbols on default linux oldglob.c by setting GLOB_NO_OLD_VERSION. - Remove the duplicate rule to build oldglob on alpha. Checked on s390-linux-gnu and alpha-linux-gnu using build-many-glibc.py. * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file. * sysdeps/unix/sysv/linux/alpha/Makefile [$(subdir) = csu] (sysdep_routines): Remove rule. --- sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c (limited to 'sysdeps/unix/sysv/linux/s390') diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c b/sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c new file mode 100644 index 0000000000..56d7d12ea6 --- /dev/null +++ b/sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c @@ -0,0 +1,2 @@ +#define GLOB_NO_OLD_VERSION +#include -- cgit 1.4.1