(quotearg_n_options): Use free/xmalloc rather than xrealloc.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 29 Oct 2003 17:33:05 +0000 (17:33 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 29 Oct 2003 17:33:05 +0000 (17:33 +0000)
commit3105da51f87d99c7c821790aebc1af265d3a51a4
tree36a14acdb66362c6aa12647b600d872202fa7cde
parentd67c6629b22d9d870bc2c8af9e1655e9a0e7e6ac
(quotearg_n_options): Use free/xmalloc rather than xrealloc.
Use a simpler test for size overflow.  Don't use xalloc_oversized
because unsigned int might be wider than size_t (!); this suggests
that we should switch from unsigned int to size_t for slot numbers.
lib/quotearg.c