This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] PR70975 Pass valid offset argument to sendfile


This fixes a FAIL on Solaris, due to a difference between the GNU and
Solaris versions of sendfile(2).

2016-10-27  Uros Bizjak  <ubizjak@gmail.com>

	PR libstdc++/70975
	* src/filesystem/ops.cc (do_copy_file): Pass non-null pointer to
	sendfile for offset argument.

Tested powerpc64le-linux, committed to trunk.

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]