[BACK]Return to funmap.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mg

Diff for /src/usr.bin/mg/funmap.c between version 1.22 and 1.23

version 1.22, 2005/12/13 06:01:27 version 1.23, 2005/12/20 06:17:36
Line 273 
Line 273 
 complete_function_list(const char *fname)  complete_function_list(const char *fname)
 {  {
         struct funmap   *fn;          struct funmap   *fn;
         struct list             *head, *el;          struct list     *head, *el;
         int              len;          int              len;
   
         len = strlen(fname);          len = strlen(fname);
Line 284 
Line 284 
                                 free_file_list(head);                                  free_file_list(head);
                                 return (NULL);                                  return (NULL);
                         }                          }
                         el->l_name = fn->fn_name;                          el->l_name = strdup(fn->fn_name);
                         el->l_next = head;                          el->l_next = head;
                         head = el;                          head = el;
                 }                  }

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23