aboutsummaryrefslogtreecommitdiff
path: root/src/triplet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/triplet.c')
-rw-r--r--src/triplet.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/triplet.c b/src/triplet.c
index bfd58e5..c214385 100644
--- a/src/triplet.c
+++ b/src/triplet.c
@@ -54,7 +54,7 @@ hash_triplet_free (void *data)
free (tp->directive);
free (tp->blurb);
free (tp->tmp);
- obstack_free (&tp->obstk, NULL);
+ txtacc_free (tp->acc);
/* Free uploader list */
for (up = tp->uploader_list; up; )
@@ -71,8 +71,8 @@ char *
triplet_strdup (struct file_triplet *tp, const char *str)
{
size_t len = strlen (str);
- obstack_grow (&tp->obstk, str, len + 1);
- return obstack_finish (&tp->obstk);
+ txtacc_grow (tp->acc, str, len + 1);
+ return txtacc_finish (tp->acc);
}
/* Register a file in the triplet table */
@@ -105,7 +105,7 @@ register_file (struct file_info *finfo, const struct spool *spool)
if (install)
{
ret->spool = spool;
- obstack_init (&ret->obstk);
+ ret->acc = txtacc_create ();
}
ret->file[finfo->type] = *finfo;
}

Return to:

Send suggestions and report system problems to the System administrator.