* locale/loadarchive.c (_nl_load_locale_from_archive): Check max file
authorRoland McGrath <roland@gnu.org>
Thu, 22 Aug 2002 08:11:48 +0000 (08:11 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 22 Aug 2002 08:11:48 +0000 (08:11 +0000)
commit4e20f1e2150d0f57a4e04643bb1723607d14a234
tree74de22bae022eae4f1649cd54e6ad25205c6e096
parent5015cde4c8f4d5b50c906967cdf88d8bff82dca1
* locale/loadarchive.c (_nl_load_locale_from_archive): Check max file

position indicated by locrectab against file bounds before rounding to
page size.  In mapping loop, always set TO before breaking out of
contiguous range coalescing loop.

* locale/loadarchive.c (_nl_load_locale_from_archive): Use MAP_PRIVATE
(or MAP_COPY if available) instead of MAP_SHARED.
ChangeLog
locale/loadarchive.c