[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] fix building when readline is disabled
From: |
Mike Frysinger |
Subject: |
[patch] fix building when readline is disabled |
Date: |
Mon, 23 Apr 2012 00:22:22 -0400 |
User-agent: |
KMail/1.13.7 (Linux/3.4.0-rc1; KDE/4.6.5; x86_64; ; ) |
if you disable readline, the complete.def code fails to build. simple patch
below (not sure if it's correct, but at least gets the conversation going).
-mike
--- a/builtins/complete.def
+++ b/builtins/complete.def
@@ -49,6 +49,8 @@ $END
#include <config.h>
+#ifdef READLINE
+
#include <stdio.h>
#include "../bashtypes.h"
@@ -867,3 +869,5 @@ compopt_builtin (list)
return (ret);
}
+
+#endif
signature.asc
Description: This is a digitally signed message part.
- [patch] fix building when readline is disabled,
Mike Frysinger <=
- Re: [patch] fix building when readline is disabled, Chet Ramey, 2012/04/23
- Re: [patch] fix building when readline is disabled, Mike Frysinger, 2012/04/23
- Re: [patch] fix building when readline is disabled, Chet Ramey, 2012/04/23
- Re: [patch] fix building when readline is disabled, Mike Frysinger, 2012/04/23
- Re: [patch] fix building when readline is disabled, Chet Ramey, 2012/04/24
- Re: [patch] fix building when readline is disabled, Mike Frysinger, 2012/04/24
- Re: [patch] fix building when readline is disabled, Chet Ramey, 2012/04/24
- Re: [patch] fix building when readline is disabled, Mike Frysinger, 2012/04/26