equal
deleted
inserted
replaced
1 --- incoming.c.orig |
|
2 +++ incoming.c |
|
3 @@ -1854,6 +1854,8 @@ |
|
4 for( j = 0 ; j < i->files.count ; j ++ ) { |
|
5 const char *basefilename = i->files.values[j]; |
|
6 size_t l = strlen(basefilename); |
|
7 + char *fullfilename; |
|
8 + |
|
9 #define C_SUFFIX ".changes" |
|
10 #define C_LEN strlen(C_SUFFIX) |
|
11 if( l <= C_LEN || |
|
12 @@ -1861,7 +1863,16 @@ |
|
13 if( changesfilename != NULL && strcmp(basefilename, changesfilename) != 0 ) |
|
14 continue; |
|
15 /* a .changes file, check it */ |
|
16 + fullfilename = calc_dirconcat(i->directory, i->files.values[j]); |
|
17 + if( fullfilename == NULL ) { |
|
18 + result = RET_ERROR_OOM; |
|
19 + continue; |
|
20 + } |
|
21 + printf("processing changesfile '%s'\n", fullfilename); |
|
22 + fprintf(stderr, "processing changesfile '%s'\n", fullfilename); |
|
23 r = process_changes(database, i, j); |
|
24 + printf("changesfile '%s' done\n", fullfilename); |
|
25 + fprintf(stderr, "changesfile '%s' done\n", fullfilename); |
|
26 RET_UPDATE(result, r); |
|
27 } |
|
28 |
|