- /* Use the default if the size is not known. Be sure "allocated"
- is at least `1' so there's room for the final NUL byte.
- Do not simply test name_size <= 0, because the initialization
- of "allocated" might have overflowed. */
- if (name_size < 0 || allocated == 0)
- allocated = NAME_SIZE_DEFAULT;
-