diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-07-28 20:47:08 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-07-28 20:47:08 +0000 |
commit | 1bc21e7a70eb9f1f69c179bb251e612c7aecd655 (patch) | |
tree | 9ed0ab62f6a85dcae93d8239923bdb4c049c9b36 /manual/pattern.texi | |
parent | e852e889444a8bf27f3e5075d064e9922b38e7e2 (diff) | |
download | glibc-1bc21e7a70eb9f1f69c179bb251e612c7aecd655.tar.gz glibc-1bc21e7a70eb9f1f69c179bb251e612c7aecd655.tar.xz glibc-1bc21e7a70eb9f1f69c179bb251e612c7aecd655.zip |
Update.
* resolv/nss_dns/dns-host.c (getanswer_r): Lower the priority of warnings when DNSSEC related records are received. * resolv/gethnamaddr.c (getanswer): Likewise. Patch by Brian Wellington <bwelling@anomaly.munge.com>. * signal/signal.h: Add prototype for sysv_signal. * math/libm-test.c (tgamma_test): Remove redundant tests. * posix/glob.h: Add GLOB_TILDE_CHECK. * sysdeps/generic/glob.c: Implement GLOB_TILDE_CHECK. * posix/globtest.c: Add option T to enable GLOB_TILDE_CHECK. * posix/globtest.sh: Re-enable test with ~ and non-existing user name.
Diffstat (limited to 'manual/pattern.texi')
-rw-r--r-- | manual/pattern.texi | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/manual/pattern.texi b/manual/pattern.texi index 24e8e4c612..f2c3f8e584 100644 --- a/manual/pattern.texi +++ b/manual/pattern.texi @@ -466,7 +466,26 @@ user name after the tilde character. So the contents of user glob ("~homer/bin/*", GLOB_TILDE, NULL, &result) @end smallexample -This functionality is equivalent to what is available in C-shells. +If the user name is not valid or the home directory cannot be determined +for some reason the pattern is left untouched and itself used as the +result. I.e., if in the last example @code{home} is not available the +tilde expansion yields to @code{"~homer/bin/*"} and @code{glob} is not +looking for a directory named @code{~homer}. + +This functionality is equivalent to what is available in C-shells if the +@code{nonomatch} flag is set. + +@comment glob.h +@comment GNU +@item GLOB_TILDE_CHECK +If this flag is used @code{glob} behaves like as if @code{GLOB_TILDE} is +given. The only difference is that if the user name is not available or +the home directory cannot be determined for other reasons this leads to +an error. @code{glob} will return @code{GLOB_NOMATCH} instead of using +the pattern itself as the name. + +This funcationality is equivalent to what is available in C-shells if +@code{nonomatch} flag is not set. @comment glob.h @comment GNU |