summaryrefslogtreecommitdiffstats
path: root/usr.bin/gencat
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-07-15 17:17:33 +0000
committerache <ache@FreeBSD.org>2000-07-15 17:17:33 +0000
commitb45cd0c3e0421e00804202184c0af2c30fcc0b45 (patch)
tree72758ccb18b74e673411142214d26a83b82f1365 /usr.bin/gencat
parent5a659df928b74bd2d1ed0a7361ab9514c3c453ba (diff)
downloadFreeBSD-src-b45cd0c3e0421e00804202184c0af2c30fcc0b45.zip
FreeBSD-src-b45cd0c3e0421e00804202184c0af2c30fcc0b45.tar.gz
Fix octal numbers parsing
PR: 19950 Submitted by: Alexey Klimov <klim@unique.kiev.ua>
Diffstat (limited to 'usr.bin/gencat')
-rw-r--r--usr.bin/gencat/genlib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/gencat/genlib.c b/usr.bin/gencat/genlib.c
index 68cc7f4..fa6ce6a 100644
--- a/usr.bin/gencat/genlib.c
+++ b/usr.bin/gencat/genlib.c
@@ -31,6 +31,8 @@ up-to-date. Many thanks.
Cambridge, MA 02139 USA
nazgul@alfalfa.com
+$FreeBSD$
+
******************************************************************/
/* Edit History
@@ -265,6 +267,7 @@ char quote;
*tptr += (*cptr - '0');
++cptr;
}
+ ++tptr;
} else {
warning(cptr, "unrecognized escape sequence");
}
OpenPOWER on IntegriCloud