GLOB_NOCHECK broken in some cases?

Ben Collins bcollins@debian.org
Sun Dec 9 13:10:00 GMT 2001


This test case shows glob's GLOB_NOCHECK appears to be broken in some
cases. Can someone confirm that this is a bug and not just a
misunderstanding of the expected behavior?

The test returns 0 for the glob() call, and 0 for gl_pathc, aswell as a
NULL in gl_pathv[0]. My assumption (and the reporter of this bug) is
that it should return 0 for the glob() call, and gl_pathc=1 with the
orignal match in gl_pathv[0].


Ben

-- 
 .----------=======-=-======-=========-----------=====------------=-=-----.
/                   Ben Collins    --    Debian GNU/Linux                  \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glob-nocheck-failure.c
Type: text/x-csrc
Size: 220 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20011209/1be64aa3/attachment.bin>


More information about the Libc-alpha mailing list