This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] locale: Make the file name of the locale archive configurable


7.06.2019 02:22 Carlos O'Donell <carlos@redhat.com> wrote:
> 
> On 6/6/19 6:12 PM, Rafal Luzynski wrote:
> > [...]
> > What about a forward/backward compatible binary format of the locale
> > archive?  The format should describe what data it provides, what are
> > the offsets and sizes of the records etc. so an executable would be
> > even able to support the future archive formats or at least would be
> > able to tell that it cannot support the format for good reasons.
> 
> We could do this quite easily.
> 
> We just need a header and an ABI version field.

This will just prevent the executables from using an incompatible locale
archive rather than enable them to use any format.  Which is of course
still better than allowing any executable to use any locale archive
and let it fail silently (or work correctly if we are lucky).  It is
OK if you think this is sufficient.

Regards,

Rafal


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