ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/uulib/uunconc.c
(Generate patch)

Comparing Convert-UUlib/uulib/uunconc.c (file contents):
Revision 1.13 by root, Fri Feb 25 22:02:55 2005 UTC vs.
Revision 1.14 by root, Sat Mar 26 14:20:49 2005 UTC

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
58char * uunconc_id = "$Id: uunconc.c,v 1.13 2005/02/25 22:02:55 root Exp $"; 58char * 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
296int 296int
297UUValidData (char *ptr, int encoding, int *bhflag) 297UUValidData (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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines