diff options
author | Jim Meyering <jim@meyering.net> | 1998-12-11 14:14:16 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-12-11 14:14:16 +0000 |
commit | fd65b86607ab8359e5d33ea024144fdcf1028fb2 (patch) | |
tree | 3b0f60fbbce2867665f662d5c3c337d35a7640c5 /lib | |
parent | bc0c0e635cd958a0504a26823b81a5825c102b52 (diff) | |
download | coreutils-fd65b86607ab8359e5d33ea024144fdcf1028fb2.tar.xz |
(quotearg_buffer): Use `7' as the mask, not `3'.
From Bruno Haible.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/quotearg.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |