$OpenBSD: patch-base_src_common_util_c,v 1.1 2003/05/23 13:22:14 todd Exp $
--- base/src/common/util.c.orig	Sat Mar 29 16:15:31 2003
+++ base/src/common/util.c	Thu May 22 17:46:42 2003
@@ -69,7 +69,7 @@ validate_pet_name(const char *s)
 char *
 xstrcat(const char *s1, const char *s2)
 {
-  char *news = (char *) GC_MALLOC_ATOMIC(strlen(s1) + strlen(s2) + 1);
+  char *news = (char *) malloc(strlen(s1) + strlen(s2) + 1);
   strcpy(news, s1);
   strcat(news, s2);
   return news;
@@ -92,7 +92,7 @@ xstrdowncase(const char *s)
 char *
 xstrdup(const char *s)
 {
-  char *news = (char *) GC_MALLOC_ATOMIC(strlen(s) + 1);
+  char *news = (char *) malloc(strlen(s) + 1);
   strcpy(news, s);
   return news;
 }
@@ -105,7 +105,7 @@ xstrndup(const char *s, int len)
   if (strlen(s) < len)
     return xstrdup(s);
 
-  news = (char *)GC_MALLOC_ATOMIC(len + 1);
+  news = (char *)malloc(len + 1);
 
   strncpy(news, s, len);
   news[len] = 0;
@@ -115,7 +115,7 @@ xstrndup(const char *s, int len)
 char *xchardup(const char theChar, size_t len)
 {
   size_t i;
-  char *s = (char *) GC_MALLOC_ATOMIC(len + 1);
+  char *s = (char *) malloc(len + 1);
 
   for (i = 0; i < len; i++)
     s[i] = theChar;
