Displaying 4 results from an estimated 4 matches for "guestfish_restore".
2014 Dec 04
1
[PATCH] fish: fix build warning when readline-devel is missing
...00644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -641,10 +641,12 @@ shell_script (void)
#define FISH "><fs> "
+#ifdef HAVE_LIBREADLINE
static char *ps1 = NULL; /* GUESTFISH_PS1 */
static char *ps_output = NULL; /* GUESTFISH_OUTPUT */
-static char *ps_restore = NULL; /* GUESTFISH_RESTORE */
static char *ps_init = NULL; /* GUESTFISH_INIT */
+#endif /* HAVE_LIBREADLINE */
+static char *ps_restore = NULL; /* GUESTFISH_RESTORE */
static char *line_read = NULL;
static char *
@@ -698,10 +700,12 @@ script (int prompt)
struct parsed_command pcmd;
if (prompt) {
+#ifdef HAVE_...
2015 Nov 22
1
Re: installation error
...eclaration]
> srandom (time (NULL));
> ^
> fish.c:173:3: warning: nested extern declaration of 'time' [-Wnested-externs]
> fish.c: At top level:
> fish.c:649:14: warning: 'ps_restore' defined but not used [-Wunused-variable]
> static char *ps_restore = NULL; /* GUESTFISH_RESTORE */
> ^
> CC guestfish-glob.o
> CC guestfish-help.o
> CC guestfish-hexedit.o
> CC guestfish-lcd.o
> CC guestfish-man.o
> CC guestfish-more.o
> CC guestfish-prep.o
> CC guestfish-prep-disk.o
> CC...
2015 Nov 22
2
Re: installation error
Thank you,
The apt was set to look in the wheezy instead of the jessie one.
> On 22 Nov 2015, at 13:30, Richard W.M. Jones <rjones@redhat.com> wrote:
>
> On Sat, Nov 21, 2015 at 05:12:19AM +0200, Keresztes Péter-Zoltán wrote:
>> Hello,
>>
>> I am trying to install libguestfs on a proxmox (debian jessie with some custom packages) and when I run make at a certain
2015 Nov 22
0
Re: installation error
...#39; [-Wimplicit-function-declaration]
srandom (time (NULL));
^
fish.c:173:3: warning: nested extern declaration of 'time' [-Wnested-externs]
fish.c: At top level:
fish.c:649:14: warning: 'ps_restore' defined but not used [-Wunused-variable]
static char *ps_restore = NULL; /* GUESTFISH_RESTORE */
^
CC guestfish-glob.o
CC guestfish-help.o
CC guestfish-hexedit.o
CC guestfish-lcd.o
CC guestfish-man.o
CC guestfish-more.o
CC guestfish-prep.o
CC guestfish-prep-disk.o
CC guestfish-prep-part.o
CC guestf...