summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads/sysdeps/cris
diff options
context:
space:
mode:
authorYann Sionneau <yann@sionneau.net>2020-10-19 08:09:54 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-10-19 09:51:48 +0200
commit27b5b58381dfebb32315f78410694ba6b6551b8e (patch)
tree8c7523bc7f918207b6aceb4daf2356e809f6760b /libpthread/linuxthreads/sysdeps/cris
parentb335e9d7de011d814e4cce87e2156bb13ccc7c3d (diff)
hasmntopt: better option matching
Previous implementation was respecting the man page description of what the function should do. Also the function does not seem to be defined by POSIX. But... to be really useful the function needs to handle option matching and not just substring matching. This is copy pasted from glibc. This fixes issue reported by https://github.com/wbx-github/uclibc-ng/issues/8 that can happen for instance there: https://github.com/frida/glib/blob/master/gio/gunixmounts.c#L622 Signed-off-by: Yann Sionneau <yann@sionneau.net>
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/cris')
0 files changed, 0 insertions, 0 deletions