[PATCH] arm, provide ftruncate() and truncate() stubs.

Corinna Vinschen vinschen@redhat.com
Wed Nov 20 09:57:00 GMT 2013


On Nov 20 09:18, Marcus Shawcroft wrote:
> On 18 November 2013 12:13, Corinna Vinschen <vinschen@redhat.com> wrote:
> > On Nov 18 09:41, Richard Earnshaw wrote:
> >> On 14/11/13 17:24, Marcus Shawcroft wrote:
> >> > This one might be a tad contraversial...
> >> >
> >>
> >> But obviously not controversial enough to cause any responses.
> >
> > I'm not fluent in ARM stuff and people enjoying their weekends exist...
> 
> > Having said that, what exactly here is supposed to be controversial?
> 
> Since the stub introduced always fails, the change has the effect of
> moving the detection of ftruncate() functionality from compile time to
> runtime for all users.

Well, that's right.  What about setting errno to ENOSYS?  This would
at least give a clue.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20131120/ece39862/attachment.sig>


More information about the Newlib mailing list