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

Diff for /OpenXM/src/kan96xx/Kan/mm.c between version 1.2 and 1.3

version 1.2, 2000/01/16 07:55:39 version 1.3, 2004/07/02 06:41:53
Line 1 
Line 1 
 /* $OpenXM$ */  /* $OpenXM: OpenXM/src/kan96xx/Kan/mm.c,v 1.2 2000/01/16 07:55:39 takayama Exp $ */
 #include <stdio.h>  #include <stdio.h>
   
 main() {  main() {
Line 7  main() {
Line 7  main() {
   while ((c=getchar()) != EOF) {    while ((c=getchar()) != EOF) {
     if (c == '%') {      if (c == '%') {
       while((c=getchar()) != EOF && (c != '\n')) ;        while((c=getchar()) != EOF && (c != '\n')) ;
     }else if (c != '\n') {      }else if (c != '\n' && c != '\r') {
       putchar(c);        putchar(c);
     }else{      }else{
       /*printf("\\\n");*/        /*printf("\\\n");*/

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

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