From e4d3686275a1178445fe8975f9e0ed5e9f3a6587 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 11 Dec 1998 14:14:16 +0000 Subject: [PATCH] (quotearg_buffer): Use `7' as the mask, not `3'. From Bruno Haible. --- lib/quotearg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/quotearg.c b/lib/quotearg.c index b5fa7355df..4f21abb1c5 100644 --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -258,8 +258,8 @@ quotearg_buffer (char *buffer, size_t buffersize, { STORE ('\\'); STORE ('0' + (c >> 6)); - STORE ('0' + ((c >> 3) & 3)); - c = '0' + (c & 3); + STORE ('0' + ((c >> 3) & 7)); + c = '0' + (c & 7); goto store_c; } break; -- 2.30.2