… | |
… | |
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.13 2005/02/25 22:02:55 root Exp $"; |
58 | char * uunconc_id = "$Id: uunconc.c,v 1.14 2005/03/26 14:20:49 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 |
… | |
… | |
295 | |
295 | |
296 | int |
296 | int |
297 | UUValidData (char *ptr, int encoding, int *bhflag) |
297 | UUValidData (char *ptr, int encoding, int *bhflag) |
298 | { |
298 | { |
299 | int i=0, j, len=0, suspicious=0, flag=0; |
299 | int i=0, j, len=0, suspicious=0, flag=0; |
300 | char *s = ptr; |
300 | signed char *s = ptr; |
301 | |
301 | |
302 | if ((s == NULL) || (*s == '\0')) { |
302 | if ((s == NULL) || (*s == '\0')) { |
303 | return 0; /* bad string */ |
303 | return 0; /* bad string */ |
304 | } |
304 | } |
305 | |
305 | |