* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
* Author: Alexander Larsson <alexl@redhat.com>
*
* export ftw() and friends only if _XOPEN_SOURCE and _GNU_SOURCE
* are defined. see bug #444097.
*/
-#define _XOPEN_SOURCE 500
-#define _GNU_SOURCE
+#define _XOPEN_SOURCE 600
+#define _GNU_SOURCE
#ifdef HAVE_FTW_H
#include <ftw.h>
hits->uris);
}
- g_list_foreach (hits->uris, (GFunc)g_free, NULL);
- g_list_free (hits->uris);
+ g_list_free_full (hits->uris, g_free);
g_free (hits);
return FALSE;