This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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]

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


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

Attachment: pgp_CmChLXgEa.pgp
Description: PGP signature


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