$OpenBSD: patch-base_src_repos_FSRepos_c,v 1.1 2003/05/23 13:22:14 todd Exp $
--- base/src/repos/FSRepos.c.orig	Sun Apr  6 16:03:44 2003
+++ base/src/repos/FSRepos.c	Thu May 22 17:46:42 2003
@@ -88,7 +88,7 @@ ReadOneLineFile(const char *path)
   size_t len = path_file_length(path);
   FILE *f = xfopen(path, 'r', 't');
 
-  buf = GC_MALLOC_ATOMIC(len + 1);
+  buf = malloc(len + 1);
 
   /* Length may get truncated if this is a WIN32 text file */
   len = fread(buf, 1, len, f);
@@ -149,7 +149,7 @@ sign_this(Repository *r, Buffer *buf, un
   EVP_MD_CTX ctx;
   int result = 0;
   EVP_PKEY *private_key = get_private_key(r);
-  unsigned char *signature = GC_MALLOC_ATOMIC(EVP_PKEY_size(private_key));
+  unsigned char *signature = malloc(EVP_PKEY_size(private_key));
 
   /* Now use EVP library to sign content */
   EVP_SignInit(&ctx, EVP_sha1());
@@ -174,7 +174,7 @@ sign_this(Repository *r, Buffer *buf, un
 	  format("Signing error [%s]",
 		 ERR_reason_error_string(ERR_get_error())));
   
-  retval = GC_MALLOC_ATOMIC(*sign_len);
+  retval = malloc(*sign_len);
   memcpy(retval, signature, *sign_len);
 
   return retval;
@@ -605,7 +605,7 @@ fsrepos_create(const char *path, const c
   const char *typefile;
   const char *lockPath;
 
-  Repository *r = (Repository *)GC_MALLOC(sizeof(Repository));
+  Repository *r = (Repository *)malloc(sizeof(Repository));
 
   /* Check for valid fstype */
   if (
