git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fish: Allow events to be processed in guestfish.
[libguestfs.git]
/
fish
/
man.c
diff --git
a/fish/man.c
b/fish/man.c
index
e28e892
..
9b49122
100644
(file)
--- a/
fish/man.c
+++ b/
fish/man.c
@@
-1,5
+1,5
@@
/* guestfish - the filesystem interactive shell
/* guestfish - the filesystem interactive shell
- * Copyright (C) 2010 Red Hat Inc.
+ * Copyright (C) 2010
-2011
Red Hat Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-13,7
+13,7
@@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139,
USA.
+ * Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA.
*/
#include <config.h>
*/
#include <config.h>
@@
-21,6
+21,7
@@
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
+#include <string.h>
#include <sys/wait.h>
#include "fish.h"
#include <sys/wait.h>
#include "fish.h"
@@
-28,7
+29,7
@@
/* guestfish man command */
int
/* guestfish man command */
int
-
do_man (const char *cmd, in
t argc, char *argv[])
+
run_man (const char *cmd, size_
t argc, char *argv[])
{
if (argc != 0) {
fprintf (stderr, _("use 'man' without parameters to open the manual\n"));
{
if (argc != 0) {
fprintf (stderr, _("use 'man' without parameters to open the manual\n"));