From fd65b86607ab8359e5d33ea024144fdcf1028fb2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 11 Dec 1998 14:14:16 +0000 Subject: (quotearg_buffer): Use `7' as the mask, not `3'. From Bruno Haible. --- lib/quotearg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/quotearg.c') diff --git a/lib/quotearg.c b/lib/quotearg.c index b5fa7355d..4f21abb1c 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; -- cgit v1.2.3-54-g00ecf