# HG changeset patch # User Jim Meyering # Date 913385656 0 # Node ID 56dbd84ae920d4ae7050110c8ead7be211def6bf # Parent 7c27b6d24ba6edcc5cf8d289ca6501083d8a9425 (quotearg_buffer): Use `7' as the mask, not `3'. From Bruno Haible. diff --git a/lib/quotearg.c b/lib/quotearg.c --- a/lib/quotearg.c +++ b/lib/quotearg.c @@ -258,8 +258,8 @@ { 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;