diff options
Diffstat (limited to 'src/lock.c')
-rw-r--r-- | src/lock.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -189,3 +189,3 @@ host_name () size = 256; - hostbuf = xmalloc (size); + hostbuf = grecs_malloc (size); } @@ -195,5 +195,5 @@ host_name () if (size < ns) - xalloc_die (); + grecs_alloc_die (); size = ns; - hostbuf = xrealloc (hostbuf, size); + hostbuf = grecs_realloc (hostbuf, size); } @@ -263,3 +263,3 @@ fix_tagname (const char *tag) { - char *tagname = xstrdup (tag); + char *tagname = grecs_strdup (tag); char *p; @@ -280,3 +280,3 @@ wydawca_lockname (const char *tag) if (!lockname) - xalloc_die (); + grecs_alloc_die (); free (tagname); @@ -291,3 +291,3 @@ wydawca_lock_init () if (!lockdir) - lockdir = xstrdup (LOCALSTATEDIR "/lock/" PACKAGE); + lockdir = grecs_strdup (LOCALSTATEDIR "/lock/" PACKAGE); if (create_hierarchy (lockdir, 0)) |