search for: c5f21df

Displaying 1 result from an estimated 1 matches for "c5f21df".

Did you mean: 75f21dc
2009 Nov 18
1
[PATCH] generator: Fix API of functions that return RBufferOut
...hat as a flag. - */ - rsize = 1; r = guestfs_pread (g, path, size, offset, &rsize); - if (rsize == 1 && r == NULL) + if (r == NULL) return error (); /* This should never happen, but at least it stops us overflowing diff --git a/src/generator.ml b/src/generator.ml index c5f21df..2317541 100644 --- a/src/generator.ml +++ b/src/generator.ml @@ -3890,7 +3890,9 @@ into smaller groups of names."); ("pread", (RBufferOut "content", [Pathname "path"; Int "count"; Int64 "offset"]), 207, [ProtocolLimitWarning], [InitIS...