Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 64478
Collapse All | Expand All

(-)old/gstxmlregistry.c (-14 / +15 lines)
Lines 1575-1598 Link Here
1575
  GDir *dir;
1575
  GDir *dir;
1576
  GList *ret = NULL;
1576
  GList *ret = NULL;
1577
1577
1578
  dir = g_dir_open (directory, 0, NULL);
1578
  if (g_file_test (directory, G_FILE_TEST_IS_DIR)) {
1579
    dir = g_dir_open (directory, 0, NULL);
1580
    if (dir) {
1581
      const gchar *dirent;
1579
1582
1580
  if (dir) {
1583
      while ((dirent = g_dir_read_name (dir))) {
1581
    const gchar *dirent;
1584
        gchar *dirname;
1582
1583
    while ((dirent = g_dir_read_name (dir))) {
1584
      gchar *dirname;
1585
	
1585
	
1586
      if (*dirent == '=') {
1586
        if (*dirent == '=') {
1587
        /* =build, =inst, etc. -- automake distcheck directories */
1587
          /* =build, =inst, etc. -- automake distcheck directories */
1588
        continue;
1588
          continue;
1589
      }
1589
        }
1590
      
1590
      
1591
      dirname = g_strjoin ("/", directory, dirent, NULL);
1591
        dirname = g_strjoin ("/", directory, dirent, NULL);
1592
      ret = g_list_concat (ret, gst_xml_registry_rebuild_recurse (registry, dirname));
1592
        ret = g_list_concat (ret, gst_xml_registry_rebuild_recurse (registry, dirname));
1593
      g_free(dirname);
1593
        g_free(dirname);
1594
      }
1595
      g_dir_close (dir);
1594
    }
1596
    }
1595
    g_dir_close (dir);
1596
  } else {
1597
  } else {
1597
    if (strstr (directory, ".so")) {
1598
    if (strstr (directory, ".so")) {
1598
      gchar *temp;
1599
      gchar *temp;

Return to bug 64478