summaryrefslogtreecommitdiff
path: root/tools/common_write.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2011-07-12 14:08:07 +0200
committerMichael Schroeder <mls@suse.de>2011-07-12 14:08:07 +0200
commit09f29f706df0cf171ba7e7e8a3272388039630e4 (patch)
tree8751165a972da652b43bc1219ccc64cfdd3901e1 /tools/common_write.c
parente29f9ccb48086b27462c751d1905ed3c5e703dfd (diff)
downloadlibsolv-09f29f706df0cf171ba7e7e8a3272388039630e4.tar.gz
libsolv-09f29f706df0cf171ba7e7e8a3272388039630e4.tar.bz2
libsolv-09f29f706df0cf171ba7e7e8a3272388039630e4.zip
- rename all sat_ to solv_
Diffstat (limited to 'tools/common_write.c')
-rw-r--r--tools/common_write.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/common_write.c b/tools/common_write.c
index 5f0fb01..7cd6783 100644
--- a/tools/common_write.c
+++ b/tools/common_write.c
@@ -186,7 +186,7 @@ write_info(Repo *repo, FILE *fp, int (*keyfilter)(Repo *repo, Repokey *key, void
for (i = 0; keyarray[i]; i++)
repodata_add_idarray(info, h, REPOSITORY_KEYS, keyarray[i]);
}
- sat_free(keyarray);
+ solv_free(keyarray);
repodata_set_str(info, h, REPOSITORY_LOCATION, location);
repodata_add_flexarray(info, SOLVID_META, REPOSITORY_EXTERNAL, h);
}
@@ -213,7 +213,7 @@ tool_write(Repo *repo, const char *basename, const char *attrname)
for (i = 0; addedfileprovides[i]; i++)
repodata_add_idarray(info, SOLVID_META, REPOSITORY_ADDEDFILEPROVIDES, addedfileprovides[i]);
}
- sat_free(addedfileprovides);
+ solv_free(addedfileprovides);
pool_freeidhashes(repo->pool); /* free some mem */
@@ -247,7 +247,7 @@ tool_write(Repo *repo, const char *basename, const char *attrname)
break;
if (k < nlanguages)
continue;
- languages = sat_realloc2(languages, nlanguages + 1, sizeof(char *));
+ languages = solv_realloc2(languages, nlanguages + 1, sizeof(char *));
languages[nlanguages++] = strdup(keyname + l);
}
}
@@ -304,7 +304,7 @@ tool_write(Repo *repo, const char *basename, const char *attrname)
fclose(fp);
for (i = 0; i < nlanguages; i++)
free(languages[i]);
- sat_free(languages);
+ solv_free(languages);
repodata_free(info);
return 0;
}