Displaying 1 result from an estimated 1 matches for "dc072ef".
Did you mean:
d07ef
2010 Aug 27
0
[PATCH] Update pwrite to write a full buffer
...ten += r;
}
if (close (fd) == -1) {
@@ -525,7 +531,7 @@ do_pwrite (const char *path, const char *content, size_t size, int64_t offset)
return -1;
}
- return r;
+ return size;
}
/* This runs the 'file' command. */
diff --git a/src/generator.ml b/src/generator.ml
index dc072ef..7dcd7b4 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -5120,12 +5120,6 @@ file is the string C<content> (which can contain any 8 bit data).");
This command writes to part of a file. It writes the data
buffer C<content> to the file C<path> starting at offset C<...