Gnome::Vfs::DirectoryHandle::close segfaults
- From: Matthias Kaeppler <nospam digitalraid com>
- To: gnomemm-list gnome org
- Subject: Gnome::Vfs::DirectoryHandle::close segfaults
- Date: Fri, 15 Jul 2005 21:06:43 +0200
Hi,
whenever I explicitly close() a DirectoryHandle,
the program segfaults.
Here's how I used it:
<code>
// locally in some member function:
DirectoryHandle dir;
dir.open("<some_path>");
bool has_next = true;
while (has_next) {
Glib::RefPtr<FileInfo> finfo
= dir.read_next(has_next);
// ...
}
// up to this point everything's just fine
dir.close(); // this call segfaults
</code>
Right now, I just never close the DirectoryHandle.
Any ideas?
Regards,
Matthias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]