Reinstate this patch, now I've fixed a double-free bug. Thanks to Rolf for
authorDick Porter <dick@acm.org>
Wed, 25 Apr 2007 13:52:35 +0000 (13:52 -0000)
committerDick Porter <dick@acm.org>
Wed, 25 Apr 2007 13:52:35 +0000 (13:52 -0000)
commit0f10840592052d882d8e256ba51f998a2af125ab
tree75976a38727ce9c6b883a6c12d625a88d3f2a1e9
parent421b0f12507780f032c8bbfbf943e0a406678906
Reinstate this patch, now I've fixed a double-free bug.  Thanks to Rolf for
the test that showed the problem.

2007-04-05  Dick Porter  <dick@ximian.com>

* file-io.c (ves_icall_System_IO_MonoIO_GetFileSystemEntries): use
FindFirstFile()/FindNextFile() to find entries.  This lets the
io-layer versions use MONO_IOMAP compatibility helpers.  Fixes bug
81038.

2007-04-05  Dick Porter  <dick@ximian.com>

* io.c:
* io-portability.c (_wapi_io_scandir): Moved from io.c, and
changed to use a cut-down version of glob(3) that has been
extended to match with case-insensitivity if needed.

svn path=/trunk/mono/; revision=76249
mono/io-layer/ChangeLog
mono/io-layer/Makefile.am
mono/io-layer/io-portability.c
mono/io-layer/io-portability.h
mono/io-layer/io.c
mono/metadata/ChangeLog
mono/metadata/file-io.c
mono/metadata/file-io.h