Don't touch the dataset after cache_add returns reporting a failure.
[glibc/history.git] / dlfcn / bug-dlopen1.c
blobd91810a4f0feb1118d2b8f3ad59db5b40a51b0ee
1 /* Test case by Bruno Haible. It test whether the dynamic string
2 token expansion can handle $ signs which do not start one of the
3 recognized keywords. */
5 #include <dlfcn.h>
7 int main (void)
9 dlopen ("gnu-gettext-GetURL$1", RTLD_GLOBAL | RTLD_LAZY);
10 dlopen ("gnu-gettext-GetURL${1", RTLD_GLOBAL | RTLD_LAZY);
11 return 0;