From ca42d35ea1a4b69b11a3b9a3e3bd1390470d188f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20B=C3=ADlka?= Date: Fri, 25 Oct 2013 10:42:33 +0200 Subject: Acknowledge that fnmatch can fail. Fixes bug 14029. --- manual/pattern.texi | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'manual/pattern.texi') diff --git a/manual/pattern.texi b/manual/pattern.texi index 1966f3f..afd6480 100644 --- a/manual/pattern.texi +++ b/manual/pattern.texi @@ -36,11 +36,8 @@ returns the nonzero value @code{FNM_NOMATCH}. The arguments The argument @var{flags} is a combination of flag bits that alter the details of matching. See below for a list of the defined flags. -In @theglibc{}, @code{fnmatch} cannot experience an ``error''---it -always returns an answer for whether the match succeeds. However, other -implementations of @code{fnmatch} might sometimes report ``errors''. -They would do so by returning nonzero values that are not equal to -@code{FNM_NOMATCH}. +In @theglibc{}, @code{fnmatch} might sometimes report ``errors'' by +returning nonzero values that are not equal to @code{FNM_NOMATCH}. @end deftypefun These are the available flags for the @var{flags} argument: -- cgit v1.1