aboutsummaryrefslogtreecommitdiff
path: root/lib/buffer.c
Commit message (Collapse)AuthorAge
* Extended per-file comments.Gravatar Nikolaus Rath2016-10-02
| | | | | This should make more clear what file contains code for what purpose.
* Fix missing config.h in buffer.cGravatar Miklos Szeredi2012-08-24
| | | | | | | | | | | | | Due to an oversight, splice will never actually be used for i/o. Someone forgot to #include "config.h" in lib/buffer.c (in fact almost no files include that header). As a result, even though configure detects splice support and puts HAVE_SPLICE in config.h, buffer.c is always compiled as if there is no splice support. Also add #include "config.h" to fuse.c and fuse_lowlevel.c. These currently include it indirectly through fuse_misc.h, but we don't want to depend on that. Reported by Matthew Gabeler-Lee
* Check if splice/vmsplice are supportedGravatar Miklos Szeredi2011-05-27
|
* fuse_buf_copy: check if buffers are the sameGravatar Miklos Szeredi2010-11-10
| | | | | | When copying fuse buffers, check if the source and destination are the same and omit the copy as appropriate. Also check if the source and destination memory regions overlap and use memmove in that case.
* Fix fuse_buf_copy() if already at the end of the buffersGravatar Miklos Szeredi2010-11-08
|
* libfuse: add buffer interfaceGravatar Miklos Szeredi2010-07-12
Add a generic buffer interface for use with I/O. Buffer vectors are supplied and each buffer in the vector may be a memory pointer or a file descriptor. The fuse_reply_fd() interface is converted to using buffers.