[BACK]Return to file2.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / plugin

Diff for /OpenXM/src/kan96xx/plugin/file2.c between version 1.2 and 1.3

version 1.2, 1999/11/18 00:54:17 version 1.3, 1999/11/18 23:57:19
Line 1 
Line 1 
 /*$OpenXM$ */  /*$OpenXM: OpenXM/src/kan96xx/plugin/file2.c,v 1.2 1999/11/18 00:54:17 takayama Exp $ */
 #include <stdio.h>  #include <stdio.h>
 #include <sys/time.h>  #include <sys/time.h>
 #include <sys/types.h>  #include <sys/types.h>
Line 101  int fp2fputc(int c,FILE2 *fp2) {
Line 101  int fp2fputc(int c,FILE2 *fp2) {
         if (fp2->watch) fp = fp2->watchFile;          if (fp2->watch) fp = fp2->watchFile;
         else fp = stderr;          else fp = stderr;
     if (c >= ' ' && c <='z') {      if (c >= ' ' && c <='z') {
       fprintf(fp," %2x(%c)-> ",c,c);        fprintf(fp," %2x(%c)-> ",c& 0xff,c);
     }else{      }else{
       fprintf(fp," %2x( )-> ",c);        fprintf(fp," %2x( )-> ",c& 0xff);
     }      }
     fflush(NULL);      fflush(NULL);
   }    }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>