summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1996-12-15 23:55:03 +0000
committerache <ache@FreeBSD.org>1996-12-15 23:55:03 +0000
commitd6af96c6228526de138c42ce2110c6dbd99f541e (patch)
tree5fa453299964b348a98600926a3a445b6d367cd0 /usr.bin
parente90f4998f6617ad83fb3537e298ad98fc024bc5c (diff)
downloadFreeBSD-src-d6af96c6228526de138c42ce2110c6dbd99f541e.zip
FreeBSD-src-d6af96c6228526de138c42ce2110c6dbd99f541e.tar.gz
Add \' to valid escapes list to be compatible with printf
2.2 candidate
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/gencat/genlib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/gencat/genlib.c b/usr.bin/gencat/genlib.c
index 0827ede..3b42987 100644
--- a/usr.bin/gencat/genlib.c
+++ b/usr.bin/gencat/genlib.c
@@ -247,6 +247,10 @@ char quote;
*tptr++ = '"';
++cptr;
break;
+ case '\'':
+ *tptr++ = '\'';
+ ++cptr;
+ break;
case '\\':
*tptr++ = '\\';
++cptr;
OpenPOWER on IntegriCloud