pwordexp->we_wordv = new_wordv;
  assert (str != NULL); /* w_addstr only called from this file */  len = strlen (str);  return w_addmem (buffer, actlen, maxlen, str, len);}static intinternal_functionw_addword (wordexp_t *pwordexp, char *word){  /* Add a word to the wordlist */  size_t num_p;  num_p = 2 + pwordexp->we_wordc + pwordexp->we_offs;  pwordexp->we_wordv = realloc (pwordexp->we_wordv, sizeof (char *) * num_p);  if (pwordexp->we_wordv != NULL)    {      pwordexp->we_wordv[pwordexp->we_wordc++] = word;      pwordexp->we_wordv[pwordexp->we_wordc] = NULL;      return 0;    }  return WRDE_NOSPACE;}