merge done
Andreas Schwab
schwab@suse.de
Tue Aug 31 09:00:00 GMT 1999
Ulrich Drepper <drepper@cygnus.com> writes:
|> Andreas Schwab <schwab@suse.de> writes:
|>
|> > What's the point in storing both the little and big endian value for
|> > single word entries?
|>
|> It would not require any work at load time.
But the work is being done anyway:
loadlocale.c:
if (_nl_value_types[category][cnt] == word)
newdata->values[cnt].word = W (*((u_int32_t *) (newdata->filedata
+ idx)));
else
newdata->values[cnt].string = newdata->filedata + idx;
So currently the other endian entries only waste space.
Andreas.
--
Andreas Schwab "And now for something
schwab@suse.de completely different."
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
More information about the Libc-hacker
mailing list