[AArch64] Set errno in ftruncate() and truncate().

Marcus Shawcroft marcus.shawcroft@arm.com
Thu Nov 21 15:53:00 GMT 2013


Ensure errno is set by ftruncate() and truncate() stubs.  This is the 
AArch64 equivalent of this patch:

https://sourceware.org/ml/newlib/2013/msg00933.html

Committed.

/Marcus

2013-11-21  Marcus Shawcroft  <marcus.shawcroft@arm.com>

	* aarch64/ftruncate.c: Include errno.h.
	(ftruncate) Set errno.
	* aarch64/truncate.c: Include errno.h.
	(truncate) Set errno.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-AArch64-Set-errno-in-ftruncate-and-truncate.patch
Type: text/x-patch
Size: 927 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20131121/3b92989b/attachment.bin>


More information about the Newlib mailing list