From a9c012bc38df19d00bf032aeea453af37b84911c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 21 Aug 2000 08:59:22 +0000 Subject: [PATCH] Add a comment. --- src/key-list.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/key-list.cc b/src/key-list.cc index 697e784..1c941a4 100644 --- a/src/key-list.cc +++ b/src/key-list.cc @@ -827,6 +827,10 @@ output_string (const char *key, int len) } else { + /* Use octal escapes, not hexadecimal escapes, because some old + C compilers didn't understand hexadecimal escapes, and because + hexadecimal escapes are not limited to 2 digits, thus needing + special care if the following character happens to be a digit. */ putchar ('\\'); putchar ('0' + ((c >> 6) & 7)); putchar ('0' + ((c >> 3) & 7));