diff src/alloc.c @ 30317:96e65dc07fd7

(allocate_string_data): Don't copy old string contents.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 19 Jul 2000 11:05:32 +0000
parents 4a27d6a88c43
children 5056adb52e97
line wrap: on
line diff
--- a/src/alloc.c	Wed Jul 19 11:04:18 2000 +0000
+++ b/src/alloc.c	Wed Jul 19 11:05:32 2000 +0000
@@ -1091,10 +1091,9 @@
   
   /* If S had already data assigned, mark that as free by setting its
      string back-pointer to null, and recording the size of the data
-     in it.. Copy old string contents to the new sdata.  */
+     in it.  */
   if (old_data)
     {
-      bcopy (old_data->u.data, s->data, old_nbytes);
       old_data->u.nbytes = old_nbytes;
       old_data->string = NULL;
     }