/[man-db]/man-db/src/descriptions.c
ViewVC logotype

Diff of /man-db/src/descriptions.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by cjwatson, Mon Apr 28 14:12:43 2003 UTC revision 1.3 by cjwatson, Wed Jul 30 11:22:23 2003 UTC
# Line 130  struct page_description *parse_descripti Line 130  struct page_description *parse_descripti
130                  if (head) {                  if (head) {
131                          desc->next = malloc (sizeof *desc);                          desc->next = malloc (sizeof *desc);
132                          desc = desc->next;                          desc = desc->next;
133                            desc->whatis = xstrdup (head->whatis);
134                  } else {                  } else {
135                          desc = malloc (sizeof *desc);                          desc = malloc (sizeof *desc);
136                          head = desc;                          head = desc;
137                            desc->whatis = NULL;
138                  }                  }
139                  desc->name = xstrdup (base_name);                  desc->name = xstrdup (base_name);
                 desc->whatis = xstrdup (head->whatis);  
140                  desc->next = NULL;                  desc->next = NULL;
141          }          }
142    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26