summaryrefslogtreecommitdiffabout
path: root/src/process.c
Side-by-side diff
Diffstat (limited to 'src/process.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c
index e41709d..200d987 100644
--- a/src/process.c
+++ b/src/process.c
@@ -27,7 +27,7 @@ static struct spool_list *spool_list;
void
register_spool (struct spool *spool)
{
- struct spool_list *sp = xmalloc (sizeof *sp);
+ struct spool_list *sp = grecs_malloc (sizeof *sp);
sp->spool = *spool;
sp->next = spool_list;
spool_list = sp;
@@ -113,7 +113,7 @@ parse_file_name (const char *name, struct file_info *finfo)
&& memcmp (name + len - suftab[i].len,
suftab[i].suf, suftab[i].len) == 0)
{
- finfo->name = xstrdup (name);
+ finfo->name = grecs_strdup (name);
finfo->type = suftab[i].type;
finfo->root_len = len - suftab[i].len;
return;

Return to:

Send suggestions and report system problems to the System administrator.