- Reached by: wim delvaux
/* $Id$
* Connection of captive-vfs interface through CORBA/ORBit
- * Copyright (C) 2002 Jan Kratochvil <project-captive@jankratochvil.net>
+ * Copyright (C) 2002-2005 Jan Kratochvil <project-captive@jankratochvil.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
int errint;
dir=opendir(dirname);
- g_assert(dir!=NULL);
+ if (!dir)
+ g_error(_("Failed to check for non-recursive removal directory \"%s\": %m"),dirname);
while (errno=0,(dirent=readdir(dir))) {
gchar *pathname;