ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/uulib/uucheck.c
(Generate patch)

Comparing Convert-UUlib/uulib/uucheck.c (file contents):
Revision 1.12 by root, Thu Jan 4 11:34:50 2007 UTC vs.
Revision 1.13 by root, Fri Jan 5 00:34:00 2007 UTC

51#include <uudeview.h> 51#include <uudeview.h>
52#include <uuint.h> 52#include <uuint.h>
53#include <fptools.h> 53#include <fptools.h>
54#include <uustring.h> 54#include <uustring.h>
55 55
56char * uucheck_id = "$Id: uucheck.c,v 1.12 2007/01/04 11:34:50 root Exp $"; 56char * uucheck_id = "$Id: uucheck.c,v 1.13 2007/01/05 00:34:00 root Exp $";
57 57
58/* 58/*
59 * Arbitrary number. This is the maximum number of part numbers we 59 * Arbitrary number. This is the maximum number of part numbers we
60 * store for our have-parts and missing-parts lists 60 * store for our have-parts and missing-parts lists
61 */ 61 */
1185 data->partno = 1; 1185 data->partno = 1;
1186 else 1186 else
1187 return UURET_NODATA; 1187 return UURET_NODATA;
1188 } 1188 }
1189 1189
1190 if ((unew = (uulist *) calloc (1, sizeof (uulist))) == NULL) { 1190 if ((unew = (uulist *) malloc (sizeof (uulist))) == NULL) {
1191 return UURET_NOMEM; 1191 return UURET_NOMEM;
1192 }
1193
1194 {
1195 static uulist uulist_new;
1196 *unew = uulist_new; /* zero-initialise the structure */
1192 } 1197 }
1193 1198
1194 if ((unew->subfname = _FP_strdup (data->subfname)) == NULL) { 1199 if ((unew->subfname = _FP_strdup (data->subfname)) == NULL) {
1195 _FP_free (unew); 1200 _FP_free (unew);
1196 return UURET_NOMEM; 1201 return UURET_NOMEM;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines