]> Dogcows Code - chaz/tar/blobdiff - src/diffarch.c
Fix Solaris bug where chmod fails if we don't have PRIV_SYS_LINKDIR
[chaz/tar] / src / diffarch.c
index c0814b935798bc7d4860dfcd3ed3502dc24b57e4..ce47d9d6cab5b152d79123049dca6b198c93e018 100644 (file)
@@ -609,7 +609,7 @@ diff_sparse_files (filesize)
                 */
       while (buf_size < numbytes)
        {
-         buf = (char *) realloc (buf, buf_size * 2 * sizeof (char));
+         buf = (char *) ck_realloc (buf, buf_size * 2 * sizeof (char));
          buf_size *= 2;
        }
       while (numbytes > RECORDSIZE)
@@ -729,7 +729,7 @@ fill_in_sparse_array ()
                                 *  scratch area - realloc it
                                 */
                  sparsearray = (struct sp_array *)
-                   realloc (sparsearray,
+                   ck_realloc (sparsearray,
                             sp_array_size * 2 * sizeof (struct sp_array));
                  sp_array_size *= 2;
                }
This page took 0.025881 seconds and 4 git commands to generate.