search for: fish

Displaying 20 results from an estimated 1762 matches for "fish".

2016 Sep 26
0
[PATCH 3/3] tools: build common fish sources in a static library
Create a new libfishcommon convenience static library to build just once (instead of 12 times!) the majority of the guestfish sources used in the rest of the C tools (mostly for command line stuff, inspection, and mount). The notable exceptions not using libfishcommon are guestfish itself, and virt-rescue: both need t...
2009 Aug 21
9
enable -Werror and all of gcc's warning options
Here is a bunch of small patches to make fish/ build with most warnings enabled: [1/9] edit.c: avoid warning about signed/unsigned comparison [2/9] fish.c: avoid warnings [3/9] tilde.c: avoid a warning [4/9] fish.c: avoid "assignment discards qualifiers..." warning [5/9] fish.c: avoid signed/unsigned-comparison warning [...
2016 Sep 26
3
[PATCH 1/3] build: remove extra libconfig linkage
Some of the C tools were building also config.c as part of the shared sources from guestfish, and thus bringing a dependency on libconfig. Since none of them actually read the libguestfs configuration at all, then exclude fish/config.c from their build, and stop linking to libconfig. --- align/Makefile.am | 3 --- df/Makefile.am | 3 --- edit/Makefile.am | 3 --- format/Ma...
2006 Nov 20
1
sem package subscript out of bounds error
...ix are all in the model. I've tried this with simpler version of the below model, and keep getting the same error. What does this error mean? Below is the full code, but I've tried this with all sorts of subsets of the model, making sure to keep all of the proper error terms. --- fish.invert.data<-data.frame(Prev.Year.Predatory.Invert.Abundance, Prev.Year.Predatory.Fish.Abundance, Predatory.Invert.Abundance, Predatory.Fish.Abundance, Prev.Year.Herbivorous.Invert.Abundance, Prev.Year.Herbivorous.Fish.Abundance, Herbivorous.Invert.Abundance,...
2009 Jul 15
0
[PATCH] Make Perl strings translatable
...@@ if ($version) { print "$h{major}.$h{minor}.$h{release}$h{extra}\n"; exit } -pod2usage ("$0: no image or VM names given") if @ARGV == 0; +pod2usage (__"virt-inspector: no image or VM names given") if @ARGV == 0; my $rw = 0; $rw = 1 if $output eq "fish"; @@ -293,7 +294,7 @@ if ($output !~ /.*fish$/) { if ($output eq "fish" || $output eq "ro-fish") { my @osdevs = keys %$oses; # This only works if there is a single OS. - die "--fish output is only possible with a single OS\n" if @osdevs != 1; + di...
2016 Sep 19
0
[PATCH 1/3] fish: move disk decryption helpers in own file
This way it is easier to use them outside the rest of the code in guestfish for inspection & mount. Just code motion, no behaviour changes. --- align/Makefile.am | 1 + cat/Makefile.am | 1 + df/Makefile.am | 1 + diff/Makefile.am | 1 + edit/Makefile.am | 1 + fish/Makefile.am | 1 + fish/decrypt.c | 102 +++++++++++...
2016 Feb 25
1
[PATCH] fish: Set program name correctly for virt-{copy, tar}-{in, out} programs.
Set the (libguestfs handle) program name correctly when running programs like virt-copy-in, so the program name is not "guestfish" but "virt-copy-in". Note this feature cannot be tested using the ./run script, since libtool (buggily) resets the program name to "lt-guestfish". However I tested it on the installed copy and it worked there. --- fish/virt-copy-in | 2 +- fish/virt-copy-out | 2 +- fis...
2015 Feb 06
2
[PATCH v3] virt-copy, virt-tar: show help for -h
Shows manpage for virt-copy-in,out and virt-tar-in,out when user supplies -h as a parameter instead of listing unrelated commands with descriptions. Maros Zatko (1): virt-copy, virt-tar: show help for -h fish/virt-copy-in | 9 +++++++++ fish/virt-copy-out | 9 +++++++++ fish/virt-tar-in | 9 +++++++++ fish/virt-tar-out | 9 +++++++++ 4 files changed, 36 insertions(+) -- 1.9.3
2015 Jan 21
1
Re: [PATCH] fish: remove extra "prompt" checks
On Tue, Jan 20, 2015 at 04:28:40PM +0100, Pino Toscano wrote: > The code is already within a "if (prompt) {...}" block, so checking for > "prompt" again is redundant. > --- > fish/fish.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/fish/fish.c b/fish/fish.c > index 8b74c7b..71db83a 100644 > --- a/fish/fish.c > +++ b/fish/fish.c > @@ -661,8 +661,8 @@ rl_gets (int prompt) > line_read = NULL; > } > &gt...
2009 Aug 19
2
[PATCH libguestfs] guestfish: detect a few more failed syscalls
There were a few unchecked syscalls in fish.c >From ba8b8b0684a03b6e6fbb939ed7e1cbf5e1000092 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering at redhat.com> Date: Wed, 19 Aug 2009 10:01:07 +0200 Subject: [PATCH libguestfs] guestfish: detect a few more failed syscalls * fish/fish.c (issue_command): Detect/diagnose more failed...
2012 Mar 22
2
Randomly select elements based on criteria
Hi, I want to randomly pick 2 fish born the same day but I need those individuals to be from different families. My table includes 1787 fish distributed in 948 families. An example of a subset of fish born in one specific day would look like: >fish fam born spawn 25 46 43 25 46 56 26 46 50 43 46 43 131 46 43 133 46 64 136 46...
2015 Aug 04
2
[PATCH] automake: Admit defeat and use 'subdir-objects'.
...akefile.am +++ b/builder/Makefile.am @@ -72,13 +72,13 @@ SOURCES_ML = \ builder.ml SOURCES_C = \ - $(top_srcdir)/mllib/fsync-c.c \ - $(top_srcdir)/mllib/uri-c.c \ - $(top_srcdir)/mllib/mkdtemp-c.c \ - $(top_srcdir)/customize/perl_edit-c.c \ - $(top_srcdir)/customize/crypt-c.c \ - $(top_srcdir)/fish/uri.c \ - $(top_srcdir)/fish/file-edit.c \ + ../mllib/fsync-c.c \ + ../mllib/uri-c.c \ + ../mllib/mkdtemp-c.c \ + ../customize/perl_edit-c.c \ + ../customize/crypt-c.c \ + ../fish/uri.c \ + ../fish/file-edit.c \ index-scan.c \ index-struct.c \ index-parse.c \ diff --git a/configure.ac b/confi...
2009 Aug 24
5
[0/5] guestfish: detect stdout-write failure
Nearly any program that writes to standard output can benefit from this sort of fix. Without it, running e.g., ./guestfish --version > /dev/full would exit successfully, even though it got ENOSPC when writing to the full device. That means regular output redirected to a file on a full partition may also fail to be written, and the error ignored. Before: $ guestfish --version > /dev/full After: $...
2010 Aug 28
4
[PATCH 0/4] Add progress bars
As discussed previously: https://www.redhat.com/archives/libguestfs/2010-July/msg00003.html https://www.redhat.com/archives/libguestfs/2010-July/msg00024.html To do: (1) Implement progress notifications for many more daemon operations. (2) OCaml bindings to the callback. (3) Perl bindings to the callback. Rich. -- Richard Jones, Virtualization Group, Red Hat
2016 May 19
0
[PATCH 3/3] fish: generate test-prep.sh with generator
Generate test-prep.sh using the generator, so the prepared disk types tested are the same as the ones configured in prepopts.ml. --- .gitignore | 1 + fish/test-prep.sh | 35 ----------------------------------- generator/fish.ml | 33 +++++++++++++++++++++++++++++++++ generator/fish.mli | 1 + generator/main.ml | 1 + 5 files changed, 36 insertions(+), 35 deletions(-) delete mode 100755 fish/test-prep.sh diff --git a/.gitignore b/.gitignore ind...
2001 Sep 11
2
data frames
Dear R-list members Here goes a question on data frames: I want to create a new data frame excluding some records (rows) from an existing one. Considering the data frame "fish.dat" at the end of this message, I can make a boxplot(Ring~Radius) and identify the points at rows 11 and 25 as outliers. With the command fish.dat[c(11, 25),] I can identify which fishes are related to these rows (fishes #4 and #1). With subset(fish.dat,reg==1) I can display all records...
2014 Aug 28
14
[PATCH 00/13] code refactorings for tools
...f file editing (using editor, and using perl expression). There's still a code duplication between the two variants of file editing, but it is just within a single source, and can be easily solved now (planning as next step). Pino Toscano (13): edit: move windows path code to common file fish, edit: specifies whether mount Windows as readonly fish, edit: move the exit-on-case-sensitive-error behaviour to virt-edit cat: use the common Windows path handling code fish: isolate file editing (w/ editor) code in own file fish: edit: improve the editor execution fish: edit: bring...
2002 Jul 11
2
Nested anovas in R not doing what they ought to...
...day for replies. I am currently attempting to perform an ANOVA with both nested and normal factors. My problem is that R is treating my nested factors the exact same way as it would interaction terms. My output for the nested model is as follows: > nested <- anova(lm(ltotinv ~ habitat + fish/lake + habitat:fish + habitat:(la\ ke %in% fish))) > nested Analysis of Variance Table Response: ltotinv Df Sum Sq Mean Sq F value Pr(>F) habitat 1 17.0829 17.0829 50.0917 3.083e-09 *** fish 1 0.9131 0.9131 2.6774 0.107600 habitat:fish...
2011 Dec 28
1
[PATCH] fish: fix the Ctrl-\ causes guestfish to abort bug(RHBZ#596761)
Handle SIGQUIT by guestfish, so that it can't be terminated. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- fish/fish.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fish/fish.c b/fish/fish.c index efd6b0b..b782b7c 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -402,6 +402,...
2012 Jan 10
1
[PATCH] fish: Do not emit error message if history file cannot be open for writing.
The error message generated by perror() is not particularly useful to the user. Many other command line programs that can keep history around cope silently if they can't create or write to their history file. --- fish/fish.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/fish/fish.c b/fish/fish.c index b782b7c..bf976ea 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -1433,10 +1433,8 @@ cleanup_readline (void) if (histfile[0] != '\0') { fd = open (histfile, O_WRONLY|O_...