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

Simon Josefsson jas at extundo.com
Tue Nov 15 14:12:31 CET 2005


Albert Chin <gnutls-dev at mlists.thewrittenword.com> writes:

> C++ comments invalid in C source files.

Those files were generated.  I had to modify GAA to fix this.  That is
now done in my local copy of GAA.  I installed the newly generated
files.

Thanks,
Simon


> -- 
> 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-devel mailing list