But it does not have to.
if (buf[i] == '[') {
if (section_name_match(&buf[i + 1], old_name) {
if (new_name == NULL)
remove = 1;
else
/* write new section */
continue;
}
remove = 0;
}
if (!remove)
/* write buf */
Ciao,
Dscho
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html