[gnutls-dev] C++ comments invalid in C source files

Albert Chin gnutls-dev at mlists.thewrittenword.com
Mon Nov 14 17:25:16 CET 2005


C++ comments invalid in C source files.

-- 
albert chin (china at thewrittenword.com)

-- snip snip
Index: src/certtool-gaa.c
===================================================================
--- src/certtool-gaa.c.orig	2005-11-12 21:44:50.099932000 -0600
+++ src/certtool-gaa.c	2005-11-12 21:44:59.785808000 -0600
@@ -1217,7 +1217,7 @@
 
         len++;
         a = fgetc( file);
-        if(a==EOF) return 0; //a = ' ';
+        if(a==EOF) return 0; /*a = ' ';*/
     }
 
     len += 1;
Index: src/tls_test-gaa.c
===================================================================
--- src/tls_test-gaa.c.orig	2005-11-12 21:44:50.051672000 -0600
+++ src/tls_test-gaa.c	2005-11-12 21:44:59.880482000 -0600
@@ -693,7 +693,7 @@
 	len++;
 	a = fgetc(file);
 	if (a == EOF)
-	    return 0;		//a = ' ';
+	    return 0;		/*a = ' ';*/
     }
 
     len += 1;



More information about the Gnutls-dev mailing list