/[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.1 by cjwatson, Sun Dec 29 20:01:34 2002 UTC revision 1.2 by cjwatson, Mon Apr 28 14:12:43 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;
                         desc->whatis = xstrdup (head->whatis);  
133                  } else {                  } else {
134                          desc = malloc (sizeof *desc);                          desc = malloc (sizeof *desc);
135                          head = desc;                          head = desc;
                         desc->whatis = NULL;  
136                  }                  }
137                  desc->name = xstrdup (base_name);                  desc->name = xstrdup (base_name);
138                    desc->whatis = xstrdup (head->whatis);
139                  desc->next = NULL;                  desc->next = NULL;
140          }          }
141    

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

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