mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-10 06:03:31 +02:00
(quotearg_buffer): Use 7' as the mask, not 3'.
From Bruno Haible.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user