mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update.
* locale/programs/locale.c (show_info): Don't try to look into data for LC_ALL (there is none).
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2000-04-12 Ulrich Drepper <drepper@redhat.com>
|
2000-04-12 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* locale/programs/locale.c (show_info): Don't try to look into
|
||||||
|
data for LC_ALL (there is none).
|
||||||
|
|
||||||
* malloc/malloc.c (cALLOc): Clear only what the user asked for and
|
* malloc/malloc.c (cALLOc): Clear only what the user asked for and
|
||||||
avoid writing over boundary.
|
avoid writing over boundary.
|
||||||
Patch by Greg McGary <gkm@eng.ascend.com>.
|
Patch by Greg McGary <gkm@eng.ascend.com>.
|
||||||
|
@ -669,6 +669,7 @@ show_info (const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (cat_no = 0; cat_no < NCATEGORIES; ++cat_no)
|
for (cat_no = 0; cat_no < NCATEGORIES; ++cat_no)
|
||||||
|
if (cat_no != LC_ALL)
|
||||||
{
|
{
|
||||||
size_t item_no;
|
size_t item_no;
|
||||||
|
|
||||||
|
@ -3738,7 +3738,7 @@ Void_t* cALLOc(n, elem_size) size_t n; size_t elem_size;
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
MALLOC_ZERO(mem, cs);
|
MALLOC_ZERO(mem, sz);
|
||||||
return mem;
|
return mem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user