+2004-01-06 Angus Leeming <leeming@lyx.org>
+
+ * globbing.C (glob): compilation fix for cygwin.
+
2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
* Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
* Makefile.am (libsupport_la_SOURCES): remove BoostFormat.h and
vector<string> const glob(string const & pattern, int flags)
{
vector<string> const glob(string const & pattern, int flags)
{
- glob_t glob_buffer = {0, 0, 0, 0, 0, 0, 0, 0, 0};
+ glob_t glob_buffer;
+ glob_buffer.gl_offs = 0;
glob(pattern.c_str(), flags, 0, &glob_buffer);
vector<string> const matches(glob_buffer.gl_pathv,
glob_buffer.gl_pathv +
glob(pattern.c_str(), flags, 0, &glob_buffer);
vector<string> const matches(glob_buffer.gl_pathv,
glob_buffer.gl_pathv +