[DGD] Reclaiming kfuns, continued
Felix A. Croes
felix at dworkin.nl
Tue Aug 26 14:33:36 CEST 2008
I inadvertedly left out an important step: it is not sufficient to
enclose the kfun name in parenthesis. You also have to add a
temporary exception to kf_restore() in dgd/src/kfun/table.c, in
the following section:
if (strcmp(buffer + buflen, "hash_md5") == 0) {
n = kf_index("(hash_md5)");
} else if (strcmp(buffer + buflen, "hash_sha1") == 0) {
n = kf_index("(hash_sha1)");
+ } else if (strcmp(buffer + buflen, "lower_case") == 0) {
+ n = kf_index("(lower_case)");
} else {
error("Restored unknown kfun: %s", buffer + buflen);
}
Add an exception for the kfuns that you are reclaiming.
Regards,
Felix Croes
More information about the DGD
mailing list