libroot: Remove another obsolete comment.
This commit is contained in:
@@ -68,9 +68,7 @@ fs_write_attr(int fd, const char* attribute, uint32 type, off_t pos,
|
|||||||
// 0, but it also tries to support programs which continue to write more
|
// 0, but it also tries to support programs which continue to write more
|
||||||
// chunks.
|
// chunks.
|
||||||
// The new Haiku way is to use fs_open_attr() to get a regular file handle
|
// The new Haiku way is to use fs_open_attr() to get a regular file handle
|
||||||
// and use that for writing, then use fs_close_attr() when done. As you
|
// and use that for writing, then use fs_close_attr() when done.
|
||||||
// see from this implementation, it saves 2 syscalls per writing a chunk
|
|
||||||
// of data.
|
|
||||||
|
|
||||||
ssize_t bytes = _kern_write_attr(fd, attribute, type, pos, buffer,
|
ssize_t bytes = _kern_write_attr(fd, attribute, type, pos, buffer,
|
||||||
writeBytes);
|
writeBytes);
|
||||||
|
|||||||
Reference in New Issue
Block a user