Amanda-Users

Re: 2.5.0 compile problems on HP-UX 10.10

2006-04-16 11:17:02
Subject: Re: 2.5.0 compile problems on HP-UX 10.10
From: Kevin Till <kevin.till AT zmanda DOT com>
To: amanda users list <amanda-users AT amanda DOT org>
Date: Sun, 16 Apr 2006 08:14:55 -0700
stan wrote:

Here's the line that causes the error:

char *aparent = vstralloc(parent_dir, "/", include, NULL);



Any sugestiosn as to wheer to begin on resoloving this?


see if this patch help:

--- calcsize.c  9 Mar 2006 16:51:41 -0000       1.36
+++ calcsize.c  29 Mar 2006 15:45:08 -0000      1.37
@@ -24,7 +24,7 @@
  * file named AUTHORS, in the root directory of this distribution.
  */
 /*
- * $Id: calcsize.c,v 1.36 2006/03/09 16:51:41 martinea Exp $
+ * $Id: calcsize.c,v 1.37 2006/03/29 15:45:08 martinea Exp $
  *
  * traverse directory tree to get backup size estimates
  */
@@ -329,10 +329,11 @@
     int l;
     int parent_len;
     int has_exclude = !is_empty_sl(exclude_sl) && use_gtar_excl;
+    char *aparent;

     if(parent_dir == NULL || include == NULL) return;

-    char *aparent = vstralloc(parent_dir, "/", include, NULL);
+    aparent = vstralloc(parent_dir, "/", include, NULL);

     if(stat(parent_dir, &finfo) != -1)
        parent_dev = finfo.st_dev;



--
Thank you!
Kevin Till

Amanda documentation: http://wiki.zmanda.com
Amanda forums:        http://forums.zmanda.com

<Prev in Thread] Current Thread [Next in Thread>