summaryrefslogtreecommitdiffstats
path: root/src/makepatch.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2003-11-30 14:27:42 +0000
committerLennart Poettering <lennart@poettering.net>2003-11-30 14:27:42 +0000
commitb6abf79d60722dbee89e6270435d0b11c0dffa91 (patch)
treed40783bd9c86b989e9f2ddb4a0dc63f9592d74f0 /src/makepatch.c
parentc0d1779760fd10d14344fa1ed70b91bdf50272c1 (diff)
relase 0.3
--copy-always --sort bi-directory merges --check-md git-svn-id: file:///home/lennart/svn/public/syrep/trunk@43 07ea20a6-d2c5-0310-9e02-9ef735347d72
Diffstat (limited to 'src/makepatch.c')
-rw-r--r--src/makepatch.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/makepatch.c b/src/makepatch.c
index 3de8860..bbce369 100644
--- a/src/makepatch.c
+++ b/src/makepatch.c
@@ -18,6 +18,10 @@
Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
***/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <assert.h>
#include <unistd.h>
#include <string.h>
@@ -38,7 +42,7 @@ static int cb(DB *ddb, struct syrep_name *name, struct diff_entry *de, void *p)
struct cb_info *cb_info = p;
struct syrep_md md;
struct syrep_nrecno nrecno;
- char path[PATH_MAX+1];
+ char path[PATH_MAX];
char d[SYREP_DIGESTLENGTH*2+1];
int f, k;