… | |
… | |
52 | #include <uudeview.h> |
52 | #include <uudeview.h> |
53 | #include <uuint.h> |
53 | #include <uuint.h> |
54 | #include <fptools.h> |
54 | #include <fptools.h> |
55 | #include <uustring.h> |
55 | #include <uustring.h> |
56 | |
56 | |
57 | char * uuutil_id = "$Id: uuutil.c,v 1.5 2009/08/24 06:15:00 root Exp $"; |
57 | char * uuutil_id = "$Id: uuutil.c,v 1.6 2020/12/10 22:49:15 root Exp $"; |
58 | |
58 | |
59 | /* |
59 | /* |
60 | * Parts with different known extensions will not be merged by SPMS. |
60 | * Parts with different known extensions will not be merged by SPMS. |
61 | * if first character is '@', it is synonymous to the previous one. |
61 | * if first character is '@', it is synonymous to the previous one. |
62 | */ |
62 | */ |
… | |
… | |
213 | * with repetition counts, remember that we've already transferred *one* |
213 | * with repetition counts, remember that we've already transferred *one* |
214 | * occurence |
214 | * occurence |
215 | */ |
215 | */ |
216 | |
216 | |
217 | int |
217 | int |
218 | UUbhdecomp (char *in, char *out, char *last, int *rpc, |
218 | UUbhdecomp (char *in, char *out, char *last, int *rpc, |
219 | size_t inc, size_t max, size_t *opc) |
219 | size_t inc, size_t max, size_t *opc) |
220 | { |
220 | { |
221 | size_t count, used=0, dummy; |
221 | size_t count, used=0, dummy; |
222 | char marker = '\220' /* '\x90' */; |
222 | char marker = '\220' /* '\x90' */; |
223 | |
223 | |
… | |
… | |
446 | if ((res = UU_smparts_r (iter, pass)) != NULL) { |
446 | if ((res = UU_smparts_r (iter, pass)) != NULL) { |
447 | UUMessage (uuutil_id, __LINE__, UUMSG_MESSAGE, |
447 | UUMessage (uuutil_id, __LINE__, UUMSG_MESSAGE, |
448 | uustring (S_SMERGE_MERGED), |
448 | uustring (S_SMERGE_MERGED), |
449 | (iter->subfname) ? iter->subfname : "", |
449 | (iter->subfname) ? iter->subfname : "", |
450 | (res->subfname) ? res->subfname : "", pass); |
450 | (res->subfname) ? res->subfname : "", pass); |
451 | |
451 | |
452 | temp = iter->NEXT; |
452 | temp = iter->NEXT; |
453 | iter->NEXT = NULL; |
453 | iter->NEXT = NULL; |
454 | UUkilllist (iter); |
454 | UUkilllist (iter); |
455 | |
455 | |
456 | flag++; |
456 | flag++; |