… | |
… | |
53 | #include <uudeview.h> |
53 | #include <uudeview.h> |
54 | #include <uuint.h> |
54 | #include <uuint.h> |
55 | #include <fptools.h> |
55 | #include <fptools.h> |
56 | #include <uustring.h> |
56 | #include <uustring.h> |
57 | |
57 | |
58 | char * uunconc_id = "$Id: uunconc.c,v 1.12 2003/11/06 13:33:41 root Exp $"; |
58 | char * uunconc_id = "$Id: uunconc.c,v 1.13 2005/02/25 22:02:55 root Exp $"; |
59 | |
59 | |
60 | /* for braindead systems */ |
60 | /* for braindead systems */ |
61 | #ifndef SEEK_SET |
61 | #ifndef SEEK_SET |
62 | #ifdef L_BEGIN |
62 | #ifdef L_BEGIN |
63 | #define SEEK_SET L_BEGIN |
63 | #define SEEK_SET L_BEGIN |
… | |
… | |
1310 | |
1310 | |
1311 | int |
1311 | int |
1312 | UUDecode (uulist *data) |
1312 | UUDecode (uulist *data) |
1313 | { |
1313 | { |
1314 | int state=BEGIN, part=-1, res=0, hb; |
1314 | int state=BEGIN, part=-1, res=0, hb; |
1315 | long rsize, dsize, numbytes; |
1315 | unsigned long rsize, dsize, numbytes; |
1316 | FILE *datain, *dataout; |
1316 | FILE *datain, *dataout; |
1317 | unsigned char r[8]; |
1317 | unsigned char r[8]; |
1318 | char *mode, *ntmp; |
1318 | char *mode, *ntmp; |
1319 | uufile *iter; |
1319 | uufile *iter; |
1320 | size_t bytes; |
1320 | size_t bytes; |