From 279f6a5be7ab2b49fa8f17529976d2d88e802962 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Mon, 11 Jun 2001 13:49:47 +0200
Subject: [PATCH] Compatibility fix.

Rev: src/combine_path.h:1.7
---
 src/combine_path.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/combine_path.h b/src/combine_path.h
index fe87232e8d..c92879a343 100644
--- a/src/combine_path.h
+++ b/src/combine_path.h
@@ -1,5 +1,5 @@
 /*
- * $Id: combine_path.h,v 1.6 2001/06/10 17:07:33 grubba Exp $
+ * $Id: combine_path.h,v 1.7 2001/06/11 11:49:47 grubba Exp $
  *
  * Combine path template.
  *
@@ -93,6 +93,8 @@ static void APPEND_PATH(struct string_builder *s,
   if(s->s->len && !IS_SEP(LAST_PUSHED()))
     PUSH('/');
 
+  if (!len) return;
+
   /* Remove initial "./" if any. */
   if(s->s->len==2)
   {
-- 
GitLab