/**
* split a string
*/
+#ifndef DISABLE_SPLIT
static int
split(char *l, char **sp, int m)
{
}
return i;
}
+#endif
/* this join does not depend on parsedata */
static char *
_join_tmpl = 0;
}
-// static char *
-// join(struct parsedata_common *pd, const char *s1, const char *s2, const char *s3)
-// {
-// int l = 1;
-// char *p;
-//
-// if (s1)
-// l += strlen(s1);
-// if (s2)
-// l += strlen(s2);
-// if (s3)
-// l += strlen(s3);
-// if (l > pd->tmpl)
-// {
-// pd->tmpl = l + 256;
-// if (!pd->tmp)
-// pd->tmp = malloc(pd->tmpl);
-// else
-// pd->tmp = realloc(pd->tmp, pd->tmpl);
-// }
-// p = pd->tmp;
-// if (s1)
-// {
-// strcpy(p, s1);
-// p += strlen(s1);
-// }
-// if (s2)
-// {
-// strcpy(p, s2);
-// p += strlen(s2);
-// }
-// if (s3)
-// {
-// strcpy(p, s3);
-// p += strlen(s3);
-// }
-// return pd->tmp;
-// }
-
-
/* util function to set a translated string */
static inline void repodata_set_tstr(Repodata *data, Id handle, const char *attrname, const char *lang, const char *str)
{