hald caught in infinite loop while scanning directory

David Zeuthen david at fubar.dk
Mon Oct 24 07:53:48 PDT 2005


On Mon, 2005-10-24 at 11:16 +0200, Martin Pitt wrote:
> However, I never saw hald lock up on traversing the current directory
> "." at this point. Maybe this is file system specific?

This is pretty strange, we have this snippet

		} else if (g_file_test (full_path, (G_FILE_TEST_IS_DIR)) 
			   && strcmp (filename, ".") != 0
			   && strcmp (filename, "..") != 0) {

in hald/device_info.c to guard against this. Maybe your package has
patches that changes this?

Cheers,
David




More information about the hal mailing list