. Don't try to represent a unicode literal in a character literal. In this

case just use the decimal literal.
. Add $FreeBSD$.
This commit is contained in:
Greg Lewis 2014-04-13 17:39:57 +00:00
parent 1cc13b8fa2
commit b018584ae2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351232

View file

@ -1,6 +1,17 @@
--- src/ASDocGen/xmlproc.c.orig 2008-09-15 15:54:38.000000000 +0000
+++ src/ASDocGen/xmlproc.c 2008-09-15 16:00:20.000000000 +0000
@@ -504,9 +504,10 @@
$FreeBSD$
--- src/ASDocGen/xmlproc.c.orig 2013-05-01 06:34:11.000000000 -0700
+++ src/ASDocGen/xmlproc.c 2014-04-13 10:29:12.000000000 -0700
@@ -179,7 +179,7 @@
fputs( "\\&", state->dest_fp );
else if ( c == '\\' && state->doc_type == DocType_NROFF )
fputc( '\\', state->dest_fp );
- else if ( c == '˜' && state->doc_type == DocType_NROFF )
+ else if ( c == 152 /*'˜'*/ && state->doc_type == DocType_NROFF )
c = '~';
fputc( c, state->dest_fp );
}
@@ -514,9 +514,10 @@
char *target = NULL, *target2 ;
char *term = NULL, *term2 ;
char *ptr = &(state->dest_file[strlen(state->dest_file)-4]);