Johannes Schindelin schrieb:
+/* sets prefix if the suffix matches */
/* * If path ends with suffix (complete path components), returns the * part before suffix (sans trailing directory separators). * Otherwise returns NULL. */
+char *strip_path_suffix(const char *path, const char *suffix)
Looks good otherwise. -- Hannes -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html