From 472d82fc06664bea2859cb94b4469c48af2d10d1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 6 Feb 2002 00:28:46 +0000 Subject: Update. * dlfcn/Makefile: Add rules to build and run bug-dlopen1. * dlfcn/bug-dlopen1.c: New file. By Bruno Haible. --- dlfcn/bug-dlopen1.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dlfcn/bug-dlopen1.c (limited to 'dlfcn/bug-dlopen1.c') diff --git a/dlfcn/bug-dlopen1.c b/dlfcn/bug-dlopen1.c new file mode 100644 index 0000000000..d91810a4f0 --- /dev/null +++ b/dlfcn/bug-dlopen1.c @@ -0,0 +1,12 @@ +/* Test case by Bruno Haible. It test whether the dynamic string + token expansion can handle $ signs which do not start one of the + recognized keywords. */ + +#include + +int main (void) +{ + dlopen ("gnu-gettext-GetURL$1", RTLD_GLOBAL | RTLD_LAZY); + dlopen ("gnu-gettext-GetURL${1", RTLD_GLOBAL | RTLD_LAZY); + return 0; +} -- cgit v1.2.3