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